getBondedDevices method

Future<List<BluetoothDevice>> getBondedDevices()

获取已配对/已绑定设备列表。

无参数。Android 返回系统已绑定设备;iOS/macOS 没有公开配对列表,返回空列表;Web 不公开系统配对列表,浏览器支持 getDevices() 时返回已授权给当前站点的设备; Linux 返回 BlueZ Paired 设备;Windows 会尽量返回系统已配对的 BLE 设备。

Implementation

Future<List<BluetoothDevice>> getBondedDevices() {
  throw UnimplementedError('getBondedDevices() has not been implemented.');
}