Compartilhar via


GlobalSystemMediaTransportControlsSession.PlaybackInfoChanged Evento

Definição

Ocorre quando as informações de reprodução da sessão são alteradas.

// Register
event_token PlaybackInfoChanged(TypedEventHandler<GlobalSystemMediaTransportControlsSession, PlaybackInfoChangedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
GlobalSystemMediaTransportControlsSession::PlaybackInfoChanged_revoker PlaybackInfoChanged(auto_revoke_t, TypedEventHandler<GlobalSystemMediaTransportControlsSession, PlaybackInfoChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<GlobalSystemMediaTransportControlsSession,PlaybackInfoChangedEventArgs> PlaybackInfoChanged;
function onPlaybackInfoChanged(eventArgs) { /* Your code */ }
globalSystemMediaTransportControlsSession.addEventListener("playbackinfochanged", onPlaybackInfoChanged);
globalSystemMediaTransportControlsSession.removeEventListener("playbackinfochanged", onPlaybackInfoChanged);
- or -
globalSystemMediaTransportControlsSession.onplaybackinfochanged = onPlaybackInfoChanged;
Public Custom Event PlaybackInfoChanged As TypedEventHandler(Of GlobalSystemMediaTransportControlsSession, PlaybackInfoChangedEventArgs) 

Tipo de evento

Requisitos do Windows

Funcionalidades do aplicativo
globalMediaControl

Aplica-se a