Share via


MobileBroadbandAccountWatcherStatus Enum

Definition

Describes different states of a MobileBroadbandAccountWatcherStatus object.

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.

public enum class MobileBroadbandAccountWatcherStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class MobileBroadbandAccountWatcherStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum MobileBroadbandAccountWatcherStatus
var value = Windows.Networking.NetworkOperators.MobileBroadbandAccountWatcherStatus.created
Public Enum MobileBroadbandAccountWatcherStatus
Inheritance
MobileBroadbandAccountWatcherStatus
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
cellularDeviceControl cellularDeviceIdentity

Fields

Name Value Description
Created 0

The watcher has been created but not started and is in its initial state.

Started 1

The watcher has been started and has yet to enumerate the existing accounts.

EnumerationCompleted 2

The watcher is running and has finished enumerating the existing accounts.

Stopped 3

The watcher has been stopped. No events will be delivered while the watcher is in this state.

Aborted 4

The watcher has aborted its watching operation due to an unexpected error condition. No events will be delivered while the watcher is in this state.

Applies to