Package | com.adobe.mediacore.info |
Class | public class Track |
Inheritance | Track ![]() |
Subclasses | AudioTrack, ClosedCaptionsTrack |
Property | Defined By | ||
---|---|---|---|
isDefault : Boolean [read-only]
Getter method: indicates whether the track is the default track. | Track | ||
language : String [read-only]
Getter method: provides the language of the track. | Track | ||
name : String [read-only]
Getter method: provides the name of the track. | Track |
Method | Defined By | ||
---|---|---|---|
Track(name:String, language:String, isDefault:Boolean)
Constructor method. | Track |
isDefault | property |
isDefault:Boolean
[read-only] Getter method: indicates whether the track is the default track.
public function get isDefault():Boolean
language | property |
language:String
[read-only] Getter method: provides the language of the track.
public function get language():String
name | property |
name:String
[read-only] Getter method: provides the name of the track.
public function get name():String
Track | () | Constructor |
public function Track(name:String, language:String, isDefault:Boolean)
Constructor method. All track properties are read-only values. They can only be set at construction time.
Parametersname:String — the name of the track
| |
language:String — the language of the track
| |
isDefault:Boolean — boolean that marks whether the track is the default one
|