Interface Content

All Known Implementing Classes:
AudioContent, ImageContent, PdfFileContent, TextContent, TextFileContent, VideoContent

public interface Content
Abstract base interface for message content.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the type of content.
  • Method Details

    • type

      ContentType type()
      Returns the type of content.

      Can be used to cast the content to the correct type.

      Returns:
      The type of content.