ESimWatcher.Stopped 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 the eSIM watcher is stopped.
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 Stopped(TypedEventHandler<ESimWatcher, IInspectable const&> const& handler) const;
// Revoke with event_token
void Stopped(event_token const* cookie) const;
// Revoke with event_revoker
ESimWatcher::Stopped_revoker Stopped(auto_revoke_t, TypedEventHandler<ESimWatcher, IInspectable const&> const& handler) const;
public event TypedEventHandler<ESimWatcher,object> Stopped;
function onStopped(eventArgs) { /* Your code */ }
eSimWatcher.addEventListener("stopped", onStopped);
eSimWatcher.removeEventListener("stopped", onStopped);
- or -
eSimWatcher.onstopped = onStopped;
Public Custom Event Stopped As TypedEventHandler(Of ESimWatcher, Object)
Event Type
TypedEventHandler<ESimWatcher,IInspectable>
Windows requirements
App capabilities |
Microsoft.eSIMManagement_8wekyb3d8bbwe
|