EMVideoMessageBody class
视频消息体类。
- Inheritance
-
- Object
- EMMessageBody
- EMFileMessageBody
- EMVideoMessageBody
Constructors
- EMVideoMessageBody({required String localPath, String? displayName, int? duration = 0, int? fileSize, String? thumbnailLocalPath, double? height, double? width})
- 创建一条视频消息。
- EMVideoMessageBody.fromJson({required Map map})
Properties
- displayName ↔ String?
-
附件的名称。
getter/setter pairinherited
- duration ↔ int?
-
视频时长,单位是秒。
getter/setter pair
- fileSize ↔ int?
-
附件的大小,以字节为单位。
getter/setter pairinherited
- fileStatus ↔ DownloadStatus
-
附件的下载状态。
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- height ↔ double?
-
视频高度,单位是像素。
getter/setter pair
- localPath ↔ String
-
附件的本地路径。
latefinalinherited
- remotePath ↔ String?
-
附件的服务器路径。
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secret ↔ String?
-
获取附件的密钥。
getter/setter pairinherited
- thumbnailLocalPath ↔ String?
-
视频缩略图的本地路径。
getter/setter pair
- thumbnailRemotePath ↔ String?
-
视频缩略图的在服务器上的存储路径。
getter/setter pair
- thumbnailSecret ↔ String?
-
视频缩略图的密钥。
getter/setter pair
- thumbnailStatus ↔ DownloadStatus
-
视频缩略图的下载状态。
getter/setter pair
- type ↔ MessageType
-
获取消息类型。
getter/setter pairinherited
- width ↔ double?
-
视频宽度,单位是像素。
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