Interface MediaTrackListEvent

Fired when an event occurs.

interface MediaTrackListEvent {
    date: Date;
    subType: TrackListEventType;
    track: MediaTrack;
    trackType: MediaTrackType;
    type: MEDIA_TRACK_LIST;
}

Hierarchy (view full)

Properties

date: Date

The creation date of the event.

track: MediaTrack

The relevant media track.

trackType: MediaTrackType

The relevant media track type, either MediaTrackType.AUDIO or MediaTrackType.VIDEO.

The type of the event.