V2TimVideoElem class

V2TimVideoElem

Inheritance
  • Object
  • V2TIMElem
  • V2TimVideoElem

Constructors

V2TimVideoElem({String? videoPath, String? UUID, int? videoSize, int? duration, String? snapshotPath, String? snapshotUUID, int? snapshotSize, int? snapshotWidth, int? snapshotHeight, String? videoUrl, String? snapshotUrl, String? localVideoUrl, String? localSnapshotUrl})
V2TimVideoElem.fromJson(Map<String, dynamic> json)

Properties

duration int?
视频播放时长
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
localSnapshotUrl String?
封面本地路况,downloadMessage之后有值
getter/setter pair
localVideoUrl String?
视频本地路径,downloadMessage之后有值
getter/setter pair
nextElem Map<String, dynamic>?
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
snapshotHeight int?
封面高度
getter/setter pair
snapshotPath String?
视频封面路径,仅在消息发送之前有效,用作视频发送之前预览
getter/setter pair
snapshotSize int?
封面大小
getter/setter pair
snapshotUrl String?
视频封面url,默认不返回,通过getMessageOnlineUrl获取
getter/setter pair
snapshotUUID String?
封面ID
getter/setter pair
snapshotWidth int?
封面宽度
getter/setter pair
UUID String?
getter/setter pair
videoPath String?
视频本地路径,仅在消息发送成功之前有效,用作消息发送成功之前视频预览
getter/setter pair
videoSize int?
视频大小
getter/setter pair
videoUrl String?
视频url,默认不返回,通过getMessageOnlineUrl获取
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