ChatVideoMessageBody class

~english The video message body class. ~end

~chinese 视频消息体类。 ~end

Inheritance

Constructors

ChatVideoMessageBody({required String localPath, String? displayName, int? duration = 0, int? fileSize, String? thumbnailLocalPath, double? height, double? width})
~english Creates a video message.
ChatVideoMessageBody.fromJson({required Map map})

Properties

displayName String?
~english The attachment name. ~end
getter/setter pairinherited
duration int?
~english The video duration in seconds. ~end
getter/setter pair
fileSize int?
~english The size of the attachment in bytes. ~end
getter/setter pairinherited
fileStatus DownloadStatus
~english The download status of the attachment. ~end
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
height double?
~english The video height in pixels. ~end
getter/setter pair
localPath String
~english The local path of the attachment. ~end
latefinalinherited
remotePath String?
~english The attachment path in the server. ~end
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secret String?
~english The token used to get the attachment. ~end
getter/setter pairinherited
thumbnailLocalPath String?
~english The local path of the video thumbnail. ~end
getter/setter pair
thumbnailRemotePath String?
~english The URL of the thumbnail on the server. ~end
getter/setter pair
thumbnailSecret String?
~english The secret key of the video thumbnail. ~end
getter/setter pair
thumbnailStatus DownloadStatus
~english The download status of the video thumbnail. ~end
getter/setter pair
type MessageType
~english Gets the chat message type. ~end
getter/setter pairinherited
width double?
~english The video width in pixels. ~end
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited