Package | com.adobe.mediacore.info |
Class | public class AudioTrack |
Inheritance | AudioTrack ![]() ![]() |
Property | Defined By | ||
---|---|---|---|
![]() | isDefault : Boolean [read-only]
Getter method: indicates whether the track is the default track. | Track | |
isForced : Boolean [read-only]
Flag which indicates whether the track selection is forced. | AudioTrack | ||
![]() | 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 | |
pid : int [read-only]
Indicates the PID of the track. | AudioTrack |
Method | Defined By | ||
---|---|---|---|
AudioTrack(name:String, language:String, isDefault:Boolean, isAutoSelect:Boolean, isForced:Boolean, pid:int)
Constructor method. | AudioTrack | ||
isAutoSelect():Boolean
Flag which indicates whether auto-selection is enabled for this track. | AudioTrack | ||
toString():String
Returns a string representation of the audio track. | AudioTrack |
isForced | property |
isForced:Boolean
[read-only] Flag which indicates whether the track selection is forced.
public function get isForced():Boolean
pid | property |
pid:int
[read-only] Indicates the PID of the track. A M2TS specific concept.
public function get pid():int
AudioTrack | () | Constructor |
public function AudioTrack(name:String, language:String, isDefault:Boolean, isAutoSelect:Boolean, isForced:Boolean, pid:int)
Constructor method. All track properties are read-only values. They can only be set at construction time.
Parametersname:String — the name of the audio track
| |
language:String — the language of the audio track
| |
isDefault:Boolean — boolean that marks whether the audio track is the default audio track
| |
isAutoSelect:Boolean — boolean that marks whether auto-selection is enabled for this audio track
| |
isForced:Boolean — boolean that marks whether the audio track selection is forced.
| |
pid:int — int the pid of the audio track if present. M2TS only.
|
isAutoSelect | () | method |
public function isAutoSelect():Boolean
Flag which indicates whether auto-selection is enabled for this track.
ReturnsBoolean — true if auto-selection is enabled for the track, false otherwise.
|
toString | () | method |
public function toString():String
Returns a string representation of the audio track.
ReturnsString — a string representation of audio track.
|