createBond method

Future<bool> createBond(
  1. String deviceId
)

创建系统配对/绑定。

参数:

  • deviceId:设备标识,无默认值。Android 使用 MAC 地址;Linux 使用 BlueZ Pair; iOS/macOS/Windows/Web 不支持并返回 false

Implementation

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