Class MediaMessageContent

  • All Implemented Interfaces:

    
    public class MediaMessageContent
    extends MessageContent
                        

    Media class Message content base class.

    all Media Type message (Image, File, Voice, Video etc.) Base class, Provides Media Content Local Path, Remote URL and File name etc. public Property.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getLocalPath() Local file path of the media content.
      final Unit setLocalPath(String localPath) Local file path of the media content.
      final String getRemoteUrl() Remote URL of the media content after upload.
      final Unit setRemoteUrl(String remoteUrl) Remote URL of the media content after upload.
      final String getName() Media content file name.
      final Unit setName(String name) Media content file name.
      String toString()
      • Methods inherited from class ai.nexconn.chat.message.MessageContent

        getDestructTime, getExtra, getMentionedInfo, isDestruct, setDestruct, setDestructTime, setExtra, setMentionedInfo
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MediaMessageContent

        MediaMessageContent()
    • Method Detail

      • getLocalPath

         final String getLocalPath()

        Local file path of the media content.

      • setLocalPath

         final Unit setLocalPath(String localPath)

        Local file path of the media content.

      • getRemoteUrl

         final String getRemoteUrl()

        Remote URL of the media content after upload.

      • setRemoteUrl

         final Unit setRemoteUrl(String remoteUrl)

        Remote URL of the media content after upload.

      • getName

         final String getName()

        Media content file name.

      • setName

         final Unit setName(String name)

        Media content file name.