startScanningForBluetoothDevices method

  1. @override
Future<void> startScanningForBluetoothDevices()
override

Starts scanning for BLE MIDI devices.

Found devices will be included in the list returned by devices.

Implementation

@override
Future<void> startScanningForBluetoothDevices() async {
  try {
    await _methodChannel.invokeMethod('scanForDevices');
  } on PlatformException catch (e) {
    throw e.message!;
  }
}