TXTrackInfo class

Track details 轨道的详细信息

Constructors

TXTrackInfo.new(String name, int trackIndex, int trackType)

Properties

hashCode int
The hash code for this object.
no setterinherited
isExclusive bool
If it is true, only one track of this type can be selected at each time. If it is false, multiple tracks of this type can be selected at the same time. 如果是true,该类型轨道每个时刻只有一条能被选中,如果是false,该类型轨道可以同时选中多条
getter/setter pair
isInternal bool
Whether the current track is the internal original track 当前的轨道是否是内部原始轨道
getter/setter pair
isSelected bool
Whether the current track is selected 当前轨道是否被选中
getter/setter pair
name String
Track name 轨道名字
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
trackIndex int
Track index 轨道index
getter/setter pair
trackType int
track type track类型
getter/setter pair

Methods

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

Constants

TX_VOD_MEDIA_TRACK_TYPE_AUDIO → const int
Audio track 音频轨
TX_VOD_MEDIA_TRACK_TYPE_SUBTITLE → const int
Subtitle track 字幕轨
TX_VOD_MEDIA_TRACK_TYPE_UNKNOW → const int
Unknown 未知
TX_VOD_MEDIA_TRACK_TYPE_VIDEO → const int
Video track 视频轨