Compartilhar via


GlobalSystemMediaTransportControlsSession.MediaPropertiesChanged Evento

Definição

Ocorre quando as MediaProperties da sessão foram alteradas.

// Register
event_token MediaPropertiesChanged(TypedEventHandler<GlobalSystemMediaTransportControlsSession, MediaPropertiesChangedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
GlobalSystemMediaTransportControlsSession::MediaPropertiesChanged_revoker MediaPropertiesChanged(auto_revoke_t, TypedEventHandler<GlobalSystemMediaTransportControlsSession, MediaPropertiesChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<GlobalSystemMediaTransportControlsSession,MediaPropertiesChangedEventArgs> MediaPropertiesChanged;
function onMediaPropertiesChanged(eventArgs) { /* Your code */ }
globalSystemMediaTransportControlsSession.addEventListener("mediapropertieschanged", onMediaPropertiesChanged);
globalSystemMediaTransportControlsSession.removeEventListener("mediapropertieschanged", onMediaPropertiesChanged);
- or -
globalSystemMediaTransportControlsSession.onmediapropertieschanged = onMediaPropertiesChanged;
Public Custom Event MediaPropertiesChanged As TypedEventHandler(Of GlobalSystemMediaTransportControlsSession, MediaPropertiesChangedEventArgs) 

Tipo de evento

Requisitos do Windows

Funcionalidades do aplicativo
globalMediaControl

Aplica-se a