MobileBroadbandAccountWatcher.AccountUpdated Event

Definition

Occurs when a Mobile Broadband Account is updated on the client.

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 AccountUpdated(TypedEventHandler<MobileBroadbandAccountWatcher, MobileBroadbandAccountUpdatedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
MobileBroadbandAccountWatcher::AccountUpdated_revoker AccountUpdated(auto_revoke_t, TypedEventHandler<MobileBroadbandAccountWatcher, MobileBroadbandAccountUpdatedEventArgs const&> const& handler) const;
public event TypedEventHandler<MobileBroadbandAccountWatcher,MobileBroadbandAccountUpdatedEventArgs> AccountUpdated;
function onAccountUpdated(eventArgs) { /* Your code */ }
mobileBroadbandAccountWatcher.addEventListener("accountupdated", onAccountUpdated);
mobileBroadbandAccountWatcher.removeEventListener("accountupdated", onAccountUpdated);
- or -
mobileBroadbandAccountWatcher.onaccountupdated = onAccountUpdated;
Public Custom Event AccountUpdated As TypedEventHandler(Of MobileBroadbandAccountWatcher, MobileBroadbandAccountUpdatedEventArgs) 

Event Type

Windows requirements

App capabilities
cellularDeviceControl cellularDeviceIdentity

Remarks

The network account id of the account is available in the event handler from the NetworkAccountId property.

The AccountUpdated event is triggered when any of the following properties change:

Applies to