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 IVideoTrack

interface IVideoTrack
Extends com.amazon.apmf.IStandard The VideoTrack object to represent Video track of the content. For further details see https://html.spec.whatwg.org/multipage/media.html#videotrack

Methods

getId()

string getId()
Returns the unique ID of the video track For further details see https://html.spec.whatwg.org/multipage/media.html#dom-videotrack-id

Returns

string Unique Id of the Video track.

getKind()

string getKind()
Returns the kind of the video track as per the spec. For further details see https://html.spec.whatwg.org/multipage/media.html#dom-videotrack-kind

Returns

string Kind of the Video track.

getLabel()

string getLabel()
Returns the user friendly label of the video track. For further details see https://html.spec.whatwg.org/multipage/media.html#dom-videotrack-label

Returns

string Label of the Video track.

getLanguage()

string getLanguage()
Returns the language of the video track. For further details see https://html.spec.whatwg.org/multipage/media.html#dom-videotrack-language

Returns

string Language of the Video track.

isSelected()

bool isSelected()
Checks if the video track is selected or not. For further details see https://html.spec.whatwg.org/multipage/media.html#dom-videotrack-selected

Returns

bool true if the track is selected, false otherwise.

selectTrack()

void selectTrack()
Selects the video track identified by the id of the track for playback. For further details see https://html.spec.whatwg.org/multipage/media.html#dom-videotrack-selected

unselectTrack()

void unselectTrack()
Unelects the video track identified by the id of the track for playback. For further details see https://html.spec.whatwg.org/multipage/media.html#dom-videotrack-selected
Last modified on October 29, 2026