PhoneCall.AudioDeviceChanged Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An event that's raised when the value of PhoneCall.AudioDevice changes.
// 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)
Event Type
TypedEventHandler<PhoneCall,IInspectable>
Windows requirements
App capabilities |
phoneCall
|