V2TimSoundElem class

V2TimSoundElem

Inheritance
  • Object
  • V2TIMElem
  • V2TimSoundElem

Constructors

V2TimSoundElem({String? path, String? UUID, int? dataSize, int? duration, String? url, String? localUrl})
V2TimSoundElem.fromJson(Map<String, dynamic> json)

Properties

dataSize int?
语音大小
getter/setter pair
duration int?
语音时长
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
localUrl String?
语音本地url,通过downloadMessage下载消息后此字段有值
getter/setter pair
nextElem Map<String, dynamic>?
getter/setter pairinherited
path String?
语音本地路径,仅在消息发送成功之前有效,用作消息发送成功前语音消息预览
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String?
语音消息url 5.0.2之后默认不返回,通过getMessageOnlineUrl异步获取
getter/setter pair
UUID String?
getter/setter pair

Methods

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

Operators

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