Jaa


MobileBroadbandSlotManager.SlotInfoChanged Event

Definition

An event that's raised when a slot information is changed.

Note

This functionality is available only to mobile operator apps and UWP apps given privileged access by mobile network operators.

If you want to use this API and publish your app to the Microsoft Store, then you'll need special approval. For more information, see the Restricted capabilities section in the App capability declarations topic.

// Register
event_token SlotInfoChanged(TypedEventHandler<MobileBroadbandSlotManager, MobileBroadbandSlotInfoChangedEventArgs const&> const& handler) const;

// Revoke with event_token
void SlotInfoChanged(event_token const* cookie) const;

// Revoke with event_revoker
MobileBroadbandSlotManager::SlotInfoChanged_revoker SlotInfoChanged(auto_revoke_t, TypedEventHandler<MobileBroadbandSlotManager, MobileBroadbandSlotInfoChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<MobileBroadbandSlotManager,MobileBroadbandSlotInfoChangedEventArgs> SlotInfoChanged;
function onSlotInfoChanged(eventArgs) { /* Your code */ }
mobileBroadbandSlotManager.addEventListener("slotinfochanged", onSlotInfoChanged);
mobileBroadbandSlotManager.removeEventListener("slotinfochanged", onSlotInfoChanged);
- or -
mobileBroadbandSlotManager.onslotinfochanged = onSlotInfoChanged;
Public Custom Event SlotInfoChanged As TypedEventHandler(Of MobileBroadbandSlotManager, MobileBroadbandSlotInfoChangedEventArgs) 

Event Type

Windows requirements

App capabilities
cellularDeviceControl cellularDeviceIdentity

Applies to