Share via


BluetoothLEAdvertisementWatcherStatus 枚举

定义

表示 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
继承
BluetoothLEAdvertisementWatcherStatus
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)
应用功能
bluetooth

字段

Aborted 4

转换或扫描期间发生错误,导致观察程序因错误而停止。

Created 0

观察程序的初始状态。

Started 1

启动观察程序。

Stopped 3

观察程序已停止。

Stopping 2

已发出观察程序停止命令。

适用于

另请参阅