Packagecom.adobe.mediacore.info
Classpublic class Track
InheritanceTrack Inheritance Object
Subclasses AudioTrack, ClosedCaptionsTrack

Class that defines the track abstraction. An track is defined uniquely by its name.



Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined By
  
Track(name:String, language:String, isDefault:Boolean)
Constructor method.
Track
Property Detail
isDefaultproperty
isDefault:Boolean  [read-only]

Getter method: indicates whether the track is the default track.


Implementation
    public function get isDefault():Boolean
languageproperty 
language:String  [read-only]

Getter method: provides the language of the track.


Implementation
    public function get language():String
nameproperty 
name:String  [read-only]

Getter method: provides the name of the track.


Implementation
    public function get name():String
Constructor Detail
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.

Parameters
name: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