as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
感谢您的访问。此页面目前仅提供英语版本。我们正在开发中文版本。谢谢您的理解。

ITrackInfo

Represents detailed information about a media track

Properties

enabled?

readonly optional enabled: boolean

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


id

readonly id: string

Unique identifier of the track


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


mode?

readonly optional mode: ITextTrackMode

Display mode of the text track Applicable only for TEXT tracks


type

readonly type: ITrackType

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


Last updated: Oct 02, 2025