MobileBroadbandModem.IsInEmergencyCallModeChanged 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
当移动宽带调制解调器进入或退出紧急呼叫模式时发生。
// Register
event_token IsInEmergencyCallModeChanged(TypedEventHandler<MobileBroadbandModem, IInspectable const&> const& handler) const;
// Revoke with event_token
void IsInEmergencyCallModeChanged(event_token const* cookie) const;
// Revoke with event_revoker
MobileBroadbandModem::IsInEmergencyCallModeChanged_revoker IsInEmergencyCallModeChanged(auto_revoke_t, TypedEventHandler<MobileBroadbandModem, IInspectable const&> const& handler) const;
public event TypedEventHandler<MobileBroadbandModem,object> IsInEmergencyCallModeChanged;
function onIsInEmergencyCallModeChanged(eventArgs) { /* Your code */ }
mobileBroadbandModem.addEventListener("isinemergencycallmodechanged", onIsInEmergencyCallModeChanged);
mobileBroadbandModem.removeEventListener("isinemergencycallmodechanged", onIsInEmergencyCallModeChanged);
- or -
mobileBroadbandModem.onisinemergencycallmodechanged = onIsInEmergencyCallModeChanged;
Public Custom Event IsInEmergencyCallModeChanged As TypedEventHandler(Of MobileBroadbandModem, Object)
事件类型
Windows 要求
设备系列 |
Windows 10, version 1803 (在 10.0.17134.0 中引入)
|
API contract |
Windows.Foundation.UniversalApiContract (在 v6.0 中引入)
|
应用功能 |
cellularDeviceControl
cellularDeviceIdentity
|