Condividi tramite


GlobalSystemMediaTransportControlsSession.MediaPropertiesChanged Evento

Definizione

Si verifica quando le proprietà multimediali della sessione sono state modificate.

// 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 evento

Requisiti Windows

Funzionalità dell'app
globalMediaControl

Si applica a