| Package | com.adobe.mediacore.info |
| Class | public class AudioTrack |
| Inheritance | AudioTrack Track Object |
| 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 | |
| Method | Defined By | ||
|---|---|---|---|
AudioTrack(name:String, language:String, isDefault:Boolean, isAutoSelect:Boolean, isForced:Boolean)
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| AudioTrack | () | Constructor |
public function AudioTrack(name:String, language:String, isDefault:Boolean, isAutoSelect:Boolean, isForced:Boolean)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.
|
| isAutoSelect | () | method |
public function isAutoSelect():BooleanFlag 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():StringReturns a string representation of the audio track.
ReturnsString — a string representation of audio track.
|