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
|