Compartir a través de


MediaPlaybackCommandManager.PositionReceived Evento

Definición

Se produce cuando el administrador de comandos recibe un comando que cambia la posición de reproducción actual de los controles de transporte multimedia del sistema.

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

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

// Revoke with event_revoker
MediaPlaybackCommandManager::PositionReceived_revoker PositionReceived(auto_revoke_t, TypedEventHandler<MediaPlaybackCommandManager, MediaPlaybackCommandManagerPositionReceivedEventArgs const&> const& handler) const;
public event TypedEventHandler<MediaPlaybackCommandManager,MediaPlaybackCommandManagerPositionReceivedEventArgs> PositionReceived;
function onPositionReceived(eventArgs) { /* Your code */ }
mediaPlaybackCommandManager.addEventListener("positionreceived", onPositionReceived);
mediaPlaybackCommandManager.removeEventListener("positionreceived", onPositionReceived);
- or -
mediaPlaybackCommandManager.onpositionreceived = onPositionReceived;
Public Custom Event PositionReceived As TypedEventHandler(Of MediaPlaybackCommandManager, MediaPlaybackCommandManagerPositionReceivedEventArgs) 

Tipo de evento

Se aplica a