readPhy method

Future<BluetoothPhyEvent> readPhy(
  1. String deviceId
)

读取 BLE 当前 PHY。

参数:

  • deviceId:已连接设备标识,无默认值。Android 8.0+ 返回真实值;iOS/macOS/Linux/Windows/Web 返回 BluetoothPhy.unknown

Implementation

Future<BluetoothPhyEvent> readPhy(String deviceId) {
  throw UnimplementedError('readPhy() has not been implemented.');
}