React Native THEOplayer SDK
    Preparing search index...

    Interface MediaTrackEvent

    The events dispatched by a MediaTrack.

    interface MediaTrackEvent {
        date: Date;
        qualities?: Quality | Quality[];
        subType: ACTIVE_QUALITY_CHANGED;
        trackType: MediaTrackType;
        trackUid: number;
        type: MEDIA_TRACK;
    }

    Hierarchy (View Summary)

    Index
    date: Date

    The creation date of the event.

    qualities?: Quality | Quality[]

    The affected media track's qualities.

    trackType: MediaTrackType

    The media track's type to which event belongs, either MediaTrackType.AUDIO or MediaTrackType.VIDEO.

    trackUid: number

    The media track's uid to which event belongs.

    The type of the event.