共用方式為


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

裝置已中斷連線。

適用於