Compartir a través de


PhoneCall.AudioDeviceChanged Evento

Definición

Evento que se genera cuando cambia el valor de PhoneCall.AudioDevice .

// Register
event_token AudioDeviceChanged(TypedEventHandler<PhoneCall, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
PhoneCall::AudioDeviceChanged_revoker AudioDeviceChanged(auto_revoke_t, TypedEventHandler<PhoneCall, IInspectable const&> const& handler) const;
public event TypedEventHandler<PhoneCall,object> AudioDeviceChanged;
function onAudioDeviceChanged(eventArgs) { /* Your code */ }
phoneCall.addEventListener("audiodevicechanged", onAudioDeviceChanged);
phoneCall.removeEventListener("audiodevicechanged", onAudioDeviceChanged);
- or -
phoneCall.onaudiodevicechanged = onAudioDeviceChanged;
Public Custom Event AudioDeviceChanged As TypedEventHandler(Of PhoneCall, Object) 

Tipo de evento

Requisitos de Windows

Características de aplicaciones
phoneCall

Se aplica a