enableSamsungHealthDataIntegration static method

Future<void> enableSamsungHealthDataIntegration({
  1. required String connectionId,
})

Implementation

static Future<void> enableSamsungHealthDataIntegration({
  required String connectionId,
}) async {
  if (!Platform.isAndroid) {
    throw Exception('enableSamsungHealthDataIntegration method is only available on Android');
  }

  final result = await _channel.invokeMethod('enableSamsungHealthDataIntegration', {
    'connectionId': connectionId,
  });

  ExceptionHandler.checkException(result);
}