EMVoiceMessageBody class

语音消息体类。

Inheritance

Constructors

EMVoiceMessageBody({dynamic localPath, int duration = 0, String? displayName, int? fileSize})
创建一条语音消息。
EMVoiceMessageBody.fromJson({required Map map})

Properties

displayName String?
附件的名称。
getter/setter pairinherited
duration int
语音时长,单位是秒。
latefinal
fileSize int?
附件的大小,以字节为单位。
getter/setter pairinherited
fileStatus DownloadStatus
附件的下载状态。
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
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
type MessageType
获取消息类型。
getter/setter pairinherited

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