Property | Defined By | ||
---|---|---|---|
audioCodec : String [read-only]
The audio codec of the track. | Track | ||
id : String [read-only]
Each Track has a unique id that is assigned at the
creation time. | Track | ||
label : String [read-only]
The label of the track. | Track | ||
lang : String [read-only]
The language identifier of the track. | Track |
Property | Defined By | ||
---|---|---|---|
_id : String | Track |
Method | Defined By | ||
---|---|---|---|
Track(lang:String, label:String, audioCodec:String)
Constructor
| Track | ||
select(mode:String):void
Selects the current Track as the active track to be
used in playback
| Track |
Constant | Defined By | ||
---|---|---|---|
REPLACE : String = Replace [static]
The REPLACE mode is used in the select() method to
enable the track as the current track and disable
the previous current track
| Track |
_id | property |
protected var _id:String
audioCodec | property |
audioCodec:String
[read-only] The audio codec of the track.
public function get audioCodec():String
id | property |
id:String
[read-only] Each Track has a unique id that is assigned at the creation time.
public function get id():String
label | property |
label:String
[read-only] The label of the track. A label represents the description of the track.
public function get label():String
lang | property |
lang:String
[read-only] The language identifier of the track.
public function get lang():String
Track | () | Constructor |
public function Track(lang:String, label:String, audioCodec:String)
Constructor
Parameterslang:String | |
label:String | |
audioCodec:String |
select | () | method |
public function select(mode:String):void
Selects the current Track as the active track to be used in playback
Parameters
mode:String |
REPLACE | Constant |
public static const REPLACE:String = Replace
The REPLACE mode is used in the select() method to enable the track as the current track and disable the previous current track