getBondStateForAddress method

Future<BluetoothBondState> getBondStateForAddress(
  1. String address
)

Checks bond state for given address (might be from system cache).

Implementation

Future<BluetoothBondState> getBondStateForAddress(String address) async {
  return BluetoothBondState.fromUnderlyingValue(await _methodChannel
      .invokeMethod('getDeviceBondState', {"address": address}));
}