PhoneLineTransportDevice.InBandRingingEnabledChanged 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
带内铃声启用状态更改时引发的事件。
// 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)
事件类型
TypedEventHandler<PhoneLineTransportDevice,IInspectable>
Windows 要求
设备系列 |
Windows 10, version 2104 (在 10.0.20348.0 中引入)
|
API contract |
Windows.ApplicationModel.Calls.CallsPhoneContract (在 v6.0 中引入)
|
应用功能 |
phoneCall
|