MediaPlaybackCommandManager.PositionReceived MediaPlaybackCommandManager.PositionReceived MediaPlaybackCommandManager.PositionReceived MediaPlaybackCommandManager.PositionReceived MediaPlaybackCommandManager.PositionReceived Event

Definition

Occurs when the command manager receives a command changing the current playback position from the System Media Transport Controls.

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

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

// Revoke with event_revoker
PositionReceived_revoker PositionReceived(auto_revoke_t, TypedEventHandler<MediaPlaybackCommandManager, MediaPlaybackCommandManagerPositionReceivedEventArgs> const& handler) const;
public event TypedEventHandler<MediaPlaybackCommandManager, MediaPlaybackCommandManagerPositionReceivedEventArgs> PositionReceived
Public Event PositionReceived As TypedEventHandler (Of MediaPlaybackCommandManager, MediaPlaybackCommandManagerPositionReceivedEventArgs)
function onPositionReceived(eventArgs){/* Your code */}


mediaPlaybackCommandManager.addEventListener("positionreceived", onPositionReceived);
mediaPlaybackCommandManager.removeEventListener("positionreceived", onPositionReceived);