TXVodDownloadMediaMsg class

Constructors

TXVodDownloadMediaMsg({String? playPath, double? progress, int? downloadState, String? userName, int? duration, int? playableDuration, int? size, int? downloadSize, String? url, int? appId, String? fileId, String? pSign, int? quality, String? token, int? speed, bool? isResourceBroken})

Properties

appId int?
下载文件对应的appId,fileId下载必填
getter/setter pair
downloadSize int?
已下载大小,单位:byte
getter/setter pair
downloadState int?
下载状态
getter/setter pair
duration int?
总时长
getter/setter pair
fileId String?
下载文件Id,fileId下载必填
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isResourceBroken bool?
资源是否已损坏, 如:资源被删除了
getter/setter pair
playableDuration int?
已下载的可播放时长
getter/setter pair
playPath String?
缓存地址
getter/setter pair
progress double?
下载进度
getter/setter pair
pSign String?
加密签名,加密视频必填
getter/setter pair
quality int?
清晰度ID
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int?
文件总大小,单位:byte
getter/setter pair
speed int?
下载速度,单位:KByte/秒
getter/setter pair
token String?
加密token
getter/setter pair
url String?
需要下载的视频url,url下载必填
getter/setter pair
userName String?
账户名称,用于url下载设置账户名称
getter/setter pair

Methods

encode() Object
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

decode(Object result) TXVodDownloadMediaMsg