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

ITrackInfo

Represents detailed information about a media track

Properties

id

readonly id: string

Unique identifier of the track


type

readonly type: ITrackType

Type of the track (AUDIO, VIDEO, or TEXT)


kind

readonly kind: string

Specific classification of the track (e.g., "main", "commentary", "subtitles")


label

readonly label: string

User-friendly label for the track


language

readonly language: string

Language of the track content (e.g., "en", "es")

For "AUDIO" ITrackType, refer to: https://html.spec.whatwg.org/multipage/media.html#dom-audiotrack-language For "TEXT" ITrackType, refer to: https://html.spec.whatwg.org/multipage/media.html#dom-texttrack-language


enabled?

optional readonly enabled: boolean

Indicates if the track is currently active Applicable only for AUDIO or VIDEO tracks


mode?

optional readonly mode: ITextTrackMode

Display mode of the text track Applicable only for TEXT tracks


Last updated: Jul 22, 2026