Package ai.nexconn.chat.message
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.
-
-
Field Summary
Fields Modifier and Type Field Description private StringlocalPathprivate StringremoteUrlprivate Stringnameprivate Stringextraprivate MentionedInfomentionedInfoprivate BooleanisDestructprivate LongdestructTime
-
Constructor Summary
Constructors Constructor Description MediaMessageContent()
-
Method Summary
Modifier and Type Method Description final StringgetLocalPath()Local file path of the media content. final UnitsetLocalPath(String localPath)Local file path of the media content. final StringgetRemoteUrl()Remote URL of the media content after upload. final UnitsetRemoteUrl(String remoteUrl)Remote URL of the media content after upload. final StringgetName()Media content file name. final UnitsetName(String name)Media content file name. StringtoString()-
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
-
-
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.
-
toString
String toString()
-
-
-
-