Dela via


BluetoothConnectionStatus Enum

Definition

Indicates the connection status of the device.

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
Inheritance
BluetoothConnectionStatus
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
Disconnected 0

The device is disconnected.

Connected 1

The device is connected.

Applies to