MediaPlaybackCommandManager.PauseReceived MediaPlaybackCommandManager.PauseReceived MediaPlaybackCommandManager.PauseReceived MediaPlaybackCommandManager.PauseReceived MediaPlaybackCommandManager.PauseReceived Event

Definition

Occurs when the command manager receives a command from the Pause button of the System Media Transport Controls.

public : event TypedEventHandler<MediaPlaybackCommandManager, MediaPlaybackCommandManagerPauseReceivedEventArgs> PauseReceived
// Register
event_token PauseReceived(TypedEventHandler<MediaPlaybackCommandManager, MediaPlaybackCommandManagerPauseReceivedEventArgs> const& handler) const;

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

// Revoke with event_revoker
PauseReceived_revoker PauseReceived(auto_revoke_t, TypedEventHandler<MediaPlaybackCommandManager, MediaPlaybackCommandManagerPauseReceivedEventArgs> const& handler) const;
public event TypedEventHandler<MediaPlaybackCommandManager, MediaPlaybackCommandManagerPauseReceivedEventArgs> PauseReceived
Public Event PauseReceived As TypedEventHandler (Of MediaPlaybackCommandManager, MediaPlaybackCommandManagerPauseReceivedEventArgs)
function onPauseReceived(eventArgs){/* Your code */}


mediaPlaybackCommandManager.addEventListener("pausereceived", onPauseReceived);
mediaPlaybackCommandManager.removeEventListener("pausereceived", onPauseReceived);