Delen via


BluetoothLEAdvertisementWatcherStatus Enum

Definition

Represents the possible states of the BluetoothLEAdvertisementWatcher.

public enum class BluetoothLEAdvertisementWatcherStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class BluetoothLEAdvertisementWatcherStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum BluetoothLEAdvertisementWatcherStatus
var value = Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementWatcherStatus.created
Public Enum BluetoothLEAdvertisementWatcherStatus
Inheritance
BluetoothLEAdvertisementWatcherStatus
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
bluetooth

Fields

Name Value Description
Created 0

The initial status of the watcher.

Started 1

The watcher is started.

Stopping 2

The watcher stop command was issued.

Stopped 3

The watcher is stopped.

Aborted 4

An error occurred during transition or scanning that stopped the watcher due to an error.

Applies to

See also