Freigeben über


MobileBroadbandModem.IsInEmergencyCallModeChanged Ereignis

Definition

Tritt auf, wenn das mobile Breitbandmodem entweder in den Notrufmodus wechselt oder verlässt.

// 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) 

Ereignistyp

Windows-Anforderungen

Gerätefamilie
Windows 10, version 1803 (eingeführt in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v6.0)
App-Funktionen
cellularDeviceControl cellularDeviceIdentity

Gilt für:

Weitere Informationen