Freigeben über


PhoneCall.AudioDeviceChanged Ereignis

Definition

Ein Ereignis, das ausgelöst wird, wenn sich der Wert von PhoneCall.AudioDevice ändert.

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

Ereignistyp

Windows-Anforderungen

App-Funktionen
phoneCall

Gilt für: