Package ai.nexconn.chat.message
Class GIFMessage
-
- All Implemented Interfaces:
public final class GIFMessage extends MediaMessageContent
GIF message.
Inherits MediaMessageContent. This message will store and count toward Unread message count.
Inherits from MediaMessageContent properties:
localPath Local GIF file path
remoteUrl Remote GIF file download URL
name GIF file name
-
-
Field Summary
Fields Modifier and Type Field Description private Integerwidthprivate Integerheightprivate LongdataSizeprivate StringlocalPathprivate StringremoteUrlprivate Stringnameprivate Stringextraprivate MentionedInfomentionedInfoprivate BooleanisDestructprivate LongdestructTime
-
Constructor Summary
Constructors Constructor Description GIFMessage()
-
Method Summary
Modifier and Type Method Description final IntegergetWidth()GIF Image Width final UnitsetWidth(Integer width)GIF Image Width final IntegergetHeight()GIF Image Height final UnitsetHeight(Integer height)GIF Image Height final LonggetDataSize()GIF data size (unit: bytes). final UnitsetDataSize(Long dataSize)GIF data size (unit: bytes). StringtoString()-
Methods inherited from class ai.nexconn.chat.message.MediaMessageContent
getLocalPath, getName, getRemoteUrl, setLocalPath, setName, setRemoteUrl -
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
-
getWidth
final Integer getWidth()
GIF Image Width
-
getHeight
final Integer getHeight()
GIF Image Height
-
getDataSize
final Long getDataSize()
GIF data size (unit: bytes).
-
setDataSize
final Unit setDataSize(Long dataSize)
GIF data size (unit: bytes).
-
toString
String toString()
-
-
-
-