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 ITrackEvent2

interface ITrackEvent2
Extends ITrackEvent Extension of ITrackEvent. Contains TrackEvent related information. For more details see https://html.spec.whatwg.org/multipage/media.html#trackevent

Methods

getAudioTrack()

IAudioTrack* getAudioTrack()
Gets the AudioTrack associated with the TrackEvent

Returns

IAudioTrack* the AudioTrack associated with the TrackEvent

getVideoTrack()

IVideoTrack* getVideoTrack()
Gets the VideoTrack associated with the TrackEvent

Returns

IVideoTrack* the VideoTrack associated with the TrackEvent
Last modified on October 29, 2026