Condividi tramite


MobileBroadbandSlotManager.SlotInfoChanged Evento

Definizione

Evento generato quando vengono modificate le informazioni sullo slot.

Nota

Questa funzionalità è disponibile solo per le app dell'operatore di telefonia mobile e le app UWP con accesso con privilegi da parte degli operatori di rete mobile.

Se vuoi usare questa API e pubblicare la tua app in Microsoft Store, avrai bisogno di un'approvazione speciale. Per altre informazioni, vedere la sezione Funzionalità con restrizioni nell'argomento Dichiarazioni di funzionalità dell'app .

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

Tipo evento

Requisiti Windows

Funzionalità dell'app
cellularDeviceControl cellularDeviceIdentity

Si applica a