BluetoothConnectionStatus 枚举

定义

指示设备的连接状态。

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

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

字段

Connected 1

设备已连接。

Disconnected 0

设备已断开连接。

适用于