MobileBroadbandSlotManager.SlotInfoChanged Événement

Définition

Événement déclenché lorsqu’une information d’emplacement est modifiée.

Notes

Cette fonctionnalité est disponible uniquement pour les applications d’opérateur mobile et les applications UWP disposant d’un accès privilégié par les opérateurs de réseau mobile.

Si vous souhaitez utiliser cette API et publier votre application sur le Microsoft Store, vous aurez besoin d’une approbation spéciale. Pour plus d’informations, consultez la section Fonctionnalités restreintes dans la rubrique Déclarations des fonctionnalités d’application .

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

Type d'événement

Configuration requise pour Windows

Fonctionnalités de l’application
cellularDeviceControl cellularDeviceIdentity

S’applique à