接口 Content

所有已知实现类:
TextContent

public interface Content
Abstract base interface for message content.
另请参阅:
  • TextContent
  • 引用无效
    ImageContent
  • 引用无效
    AudioContent
  • 引用无效
    VideoContent
  • 引用无效
    PdfFileContent
  • 引用无效
    TextFileContent
  • 方法概要

    修饰符和类型
    方法
    说明
    Returns the type of content.
  • 方法详细资料

    • getType

      ContentType getType()
      Returns the type of content.

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

      返回:
      The type of content.