checkBluetoothPermission static method

Future<bool> checkBluetoothPermission()

Whether Bluetooth access has been granted, for Bluetooth audio routing.

Always true on iOS, which routes audio to Bluetooth with no permission.

Implementation

static Future<bool> checkBluetoothPermission() async =>
    _bluetoothNeedsNoPermission ||
    await ph.Permission.bluetoothConnect.isGranted;