TXVodDownloadMediaInfo class

Video download information.

Constructors

TXVodDownloadMediaInfo()

Properties

dataSource TXVodDownloadDataSource?
File ID storage.
getter/setter pair
downloadSize int?
Downloaded size, in bytes.
getter/setter pair
downloadState int?
Download status.
getter/setter pair
duration int?
Total duration.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isResourceBroken bool?
Whether the resource is damaged, such as being deleted.
getter/setter pair
playableDuration int?
Downloaded playable duration.
getter/setter pair
playPath String?
Cache address.
getter/setter pair
progress double?
Download progress.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int?
Total file size, in bytes.
getter/setter pair
speed int?
Download speed, in KBytes/second.
getter/setter pair
url String?
Video URL to be downloaded, required for URL download.
getter/setter pair
userName String?
Account name, used to set the account name for URL download. It is not recommended to set a string that is too long, otherwise it may lead to unforeseen problems.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Kept for backward compatibility; delegates to toMap.
toMap() Map<String, dynamic>
Serialize to a Map for MethodChannel transport.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromMap(Map map) TXVodDownloadMediaInfo
Construct from the Map returned by MethodChannel.