PhoneLineTransportDevice.InBandRingingEnabledChanged 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 in-band ringtone enable status changes.
// Register
event_token InBandRingingEnabledChanged(TypedEventHandler<PhoneLineTransportDevice, IInspectable const&> const& handler) const;
// Revoke with event_token
void InBandRingingEnabledChanged(event_token const* cookie) const;
// Revoke with event_revoker
PhoneLineTransportDevice::InBandRingingEnabledChanged_revoker InBandRingingEnabledChanged(auto_revoke_t, TypedEventHandler<PhoneLineTransportDevice, IInspectable const&> const& handler) const;
public event TypedEventHandler<PhoneLineTransportDevice,object> InBandRingingEnabledChanged;
function onInBandRingingEnabledChanged(eventArgs) { /* Your code */ }
phoneLineTransportDevice.addEventListener("inbandringingenabledchanged", onInBandRingingEnabledChanged);
phoneLineTransportDevice.removeEventListener("inbandringingenabledchanged", onInBandRingingEnabledChanged);
- or -
phoneLineTransportDevice.oninbandringingenabledchanged = onInBandRingingEnabledChanged;
Public Custom Event InBandRingingEnabledChanged As TypedEventHandler(Of PhoneLineTransportDevice, Object)
Event Type
TypedEventHandler<PhoneLineTransportDevice,IInspectable>
Windows requirements
Device family |
Windows 10, version 2104 (introduced in 10.0.20348.0)
|
API contract |
Windows.ApplicationModel.Calls.CallsPhoneContract (introduced in v6.0)
|
App capabilities |
phoneCall
|