isBlePermissionsGranted property

Future<bool> get isBlePermissionsGranted

Checks if the app has all the required bluetooth permissions.

Android only. Requires btdevice plugin.

Implementation

Future<bool> get isBlePermissionsGranted async {
  if (!Platform.isAndroid) {
    throw PlatformException(
      code: "android-only",
      message: "isBlePermissionsGranted is accessible only on Android",
    );
  }
  return await _bridge.invokeMethod("isBlePermissionsGranted", []);
}