BluetoothLEDevice.GetConnectionPhy 方法

定义

检索有关蓝牙 LE 物理层的信息 (PHY) 。

注意

当设备未连接时,连接 PHY 无效 (所有 false)

public:
 virtual BluetoothLEConnectionPhy ^ GetConnectionPhy() = GetConnectionPhy;
BluetoothLEConnectionPhy GetConnectionPhy();
public BluetoothLEConnectionPhy GetConnectionPhy();
function getConnectionPhy()
Public Function GetConnectionPhy () As BluetoothLEConnectionPhy

返回

一个 BluetoothLEConnectionPhy 对象,表示有关蓝牙 LE 物理层的信息, (PHY) 外围设备当前已连接。

Windows 要求

设备系列
Windows 11 (在 10.0.22000.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v14.0 中引入)
应用功能
bluetooth

适用于