Share via


BluetoothLEAdvertisementPublisherStatus 枚举

定义

表示 BluetoothLEAdvertisementPublisher 的可能状态。

public enum class BluetoothLEAdvertisementPublisherStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class BluetoothLEAdvertisementPublisherStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum BluetoothLEAdvertisementPublisherStatus
var value = Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementPublisherStatus.created
Public Enum BluetoothLEAdvertisementPublisherStatus
继承
BluetoothLEAdvertisementPublisherStatus
属性

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 5

发布服务器因错误而中止。

Created 0

发布服务器的初始状态。

Started 2

发布者正在提供服务,并开始做广告。

Stopped 4

发布者已停止广告。

Stopping 3

发布者已发出停止命令。

Waiting 1

发布服务器正在等待获取服务时间。

适用于

另请参阅