ESimWatcher.Updated Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when an ESim on the device is updated.
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 to request special approval to use the custom capability Microsoft.eSIMManagement_8wekyb3d8bbwe. For more info, see Custom capabilities.
// Register
event_token Updated(TypedEventHandler<ESimWatcher, ESimUpdatedEventArgs const&> const& handler) const;
// Revoke with event_token
void Updated(event_token const* cookie) const;
// Revoke with event_revoker
ESimWatcher::Updated_revoker Updated(auto_revoke_t, TypedEventHandler<ESimWatcher, ESimUpdatedEventArgs const&> const& handler) const;
public event TypedEventHandler<ESimWatcher,ESimUpdatedEventArgs> Updated;
function onUpdated(eventArgs) { /* Your code */ }
eSimWatcher.addEventListener("updated", onUpdated);
eSimWatcher.removeEventListener("updated", onUpdated);
- or -
eSimWatcher.onupdated = onUpdated;
Public Custom Event Updated As TypedEventHandler(Of ESimWatcher, ESimUpdatedEventArgs)
Event Type
Windows requirements
App capabilities |
Microsoft.eSIMManagement_8wekyb3d8bbwe
|