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 ITrackEvent

interface ITrackEvent
Extends com.amazon.apmf.IStandard Contains TrackEvent related information. For more details see https://html.spec.whatwg.org/multipage/media.html#trackevent

Methods

getTextTrack()

ITextTrack* getTextTrack()
Gets the TextTrack associated with the TrackEvent

Returns

ITextTrack* the TextTrack associated with the TrackEvent

getSourceBuffer()

ISourceBuffer? getSourceBuffer()
Gets the SourceBufer associated with the TrackEvent

Returns

ISourceBuffer? The return value is optional and might be absent. the SourceBufer associated with the TrackEvent This interface is now updated to return ISourceBuffer extension i.e. ISourceBuffer2.
Last modified on October 29, 2026