Condividi tramite


AudioRoutingManager.AudioEndpointChanged Evento

Definizione

Si verifica quando l'endpoint audio attualmente in uso è cambiato o quando il set di endpoint audio disponibili è cambiato.

// Register
event_token AudioEndpointChanged(TypedEventHandler<AudioRoutingManager, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
AudioRoutingManager::AudioEndpointChanged_revoker AudioEndpointChanged(auto_revoke_t, TypedEventHandler<AudioRoutingManager, IInspectable const&> const& handler) const;
public event TypedEventHandler<AudioRoutingManager,object> AudioEndpointChanged;
function onAudioEndpointChanged(eventArgs) { /* Your code */ }
audioRoutingManager.addEventListener("audioendpointchanged", onAudioEndpointChanged);
audioRoutingManager.removeEventListener("audioendpointchanged", onAudioEndpointChanged);
- or -
audioRoutingManager.onaudioendpointchanged = onAudioEndpointChanged;
Public Custom Event AudioEndpointChanged As TypedEventHandler(Of AudioRoutingManager, Object) 

Tipo evento

Requisiti Windows

Funzionalità dell'app
ID_CAP_VOIP [Windows Phone]

Commenti

Questo evento viene generato anche quando l'applicazione stessa ha richiesto la modifica chiamando SetAudioEndpoint.

Si applica a