Condividi tramite


MobileBroadbandSlotManager.CurrentSlotIndexChanged Evento

Definizione

Evento generato quando viene modificato l'indice dello slot corrente.

Nota

Questa funzionalità è disponibile solo per le app degli operatori mobili e le app UWP date l'accesso con privilegi dagli operatori di rete mobile.

Se si vuole usare questa API e pubblicare l'app in Microsoft Store, sarà necessaria un'approvazione speciale. Per altre informazioni, vedere la sezione Funzionalità limitate nell'argomento Dichiarazioni di funzionalità app.

// Register
event_token CurrentSlotIndexChanged(TypedEventHandler<MobileBroadbandSlotManager, MobileBroadbandCurrentSlotIndexChangedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
MobileBroadbandSlotManager::CurrentSlotIndexChanged_revoker CurrentSlotIndexChanged(auto_revoke_t, TypedEventHandler<MobileBroadbandSlotManager, MobileBroadbandCurrentSlotIndexChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<MobileBroadbandSlotManager,MobileBroadbandCurrentSlotIndexChangedEventArgs> CurrentSlotIndexChanged;
function onCurrentSlotIndexChanged(eventArgs) { /* Your code */ }
mobileBroadbandSlotManager.addEventListener("currentslotindexchanged", onCurrentSlotIndexChanged);
mobileBroadbandSlotManager.removeEventListener("currentslotindexchanged", onCurrentSlotIndexChanged);
- or -
mobileBroadbandSlotManager.oncurrentslotindexchanged = onCurrentSlotIndexChanged;
Public Custom Event CurrentSlotIndexChanged As TypedEventHandler(Of MobileBroadbandSlotManager, MobileBroadbandCurrentSlotIndexChangedEventArgs) 

Tipo evento

Requisiti Windows

Funzionalità dell'app
cellularDeviceControl cellularDeviceIdentity

Si applica a