getGrantedHealthKitPermissions static method

Future<Set<String>> getGrantedHealthKitPermissions({
  1. required String connectionId,
})

Implementation

static Future<Set<String>> getGrantedHealthKitPermissions({
  required String connectionId,
}) async {
  if (!Platform.isAndroid) {
    throw Exception('getGrantedHealthKitPermissions method is only available on Android');
  }
  final result = await _channel.invokeMethod('getGrantedHealthKitPermissions', {
    'connectionId': connectionId,
  });

  ExceptionHandler.checkException(result);
  return result;
}