MediaPlaybackTimedMetadataTrackList.PresentationModeChanged MediaPlaybackTimedMetadataTrackList.PresentationModeChanged MediaPlaybackTimedMetadataTrackList.PresentationModeChanged MediaPlaybackTimedMetadataTrackList.PresentationModeChanged MediaPlaybackTimedMetadataTrackList.PresentationModeChanged Event

Definition

Occurs when the presentation mode of the MediaPlaybackTimedMetadataTrackList changes.

public : event TypedEventHandler<MediaPlaybackTimedMetadataTrackList, TimedMetadataPresentationModeChangedEventArgs> PresentationModeChanged
// Register
event_token PresentationModeChanged(TypedEventHandler<MediaPlaybackTimedMetadataTrackList, TimedMetadataPresentationModeChangedEventArgs> const& handler) const;

// Revoke with event_token
void PresentationModeChanged(event_token const& cookie) const;

// Revoke with event_revoker
PresentationModeChanged_revoker PresentationModeChanged(auto_revoke_t, TypedEventHandler<MediaPlaybackTimedMetadataTrackList, TimedMetadataPresentationModeChangedEventArgs> const& handler) const;
public event TypedEventHandler<MediaPlaybackTimedMetadataTrackList, TimedMetadataPresentationModeChangedEventArgs> PresentationModeChanged
Public Event PresentationModeChanged As TypedEventHandler (Of MediaPlaybackTimedMetadataTrackList, TimedMetadataPresentationModeChangedEventArgs)
function onPresentationModeChanged(eventArgs){/* Your code */}


mediaPlaybackTimedMetadataTrackList.addEventListener("presentationmodechanged", onPresentationModeChanged);
mediaPlaybackTimedMetadataTrackList.removeEventListener("presentationmodechanged", onPresentationModeChanged);

Remarks

Change the presentation mode by calling SetPresentationMode.