Compartir a través de


MediaPlaybackSession.PositionChanged Evento

Definición

Se produce cuando cambia la posición de reproducción actual dentro de los medios que se están reproduciendo actualmente.

// Register
event_token PositionChanged(TypedEventHandler<MediaPlaybackSession, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
MediaPlaybackSession::PositionChanged_revoker PositionChanged(auto_revoke_t, TypedEventHandler<MediaPlaybackSession, IInspectable const&> const& handler) const;
public event TypedEventHandler<MediaPlaybackSession,object> PositionChanged;
function onPositionChanged(eventArgs) { /* Your code */ }
mediaPlaybackSession.addEventListener("positionchanged", onPositionChanged);
mediaPlaybackSession.removeEventListener("positionchanged", onPositionChanged);
- or -
mediaPlaybackSession.onpositionchanged = onPositionChanged;
Public Custom Event PositionChanged As TypedEventHandler(Of MediaPlaybackSession, Object) 

Tipo de evento

Se aplica a