Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface ITrackPreference

interface ITrackPreference
Extends com.amazon.apmf.IStandard An object containing track preference.

Methods

getLanguageCode()

string getLanguageCode()
Get language code which identifies the primary language used in the track.

Returns

string containing one of the standard tags for identifying languages (RFC 5646).

getAudioOutputIndex()

u8? getAudioOutputIndex()
Get audio output index.

Returns

u8? The return value is optional and might be absent. audio output index if it is an audio track, null otherwise.
Last modified on October 29, 2026