BluetoothAdapter.IsCentralRoleSupported 属性

定义

获取一个布尔值,指示 adapater 是否支持 LowEnergy 中心角色。

public:
 property bool IsCentralRoleSupported { bool get(); };
bool IsCentralRoleSupported();
public bool IsCentralRoleSupported { get; }
var boolean = bluetoothAdapter.isCentralRoleSupported;
Public ReadOnly Property IsCentralRoleSupported As Boolean

属性值

Boolean

bool

获取一个布尔值,指示 adapater 是否支持 LowEnergy 中心角色。

Windows 要求

应用功能
bluetooth

适用于