isForegroundServiceRunning static method

Future<bool> isForegroundServiceRunning()

Android Only - Checks if the foreground service is running.

Implementation

static Future<bool> isForegroundServiceRunning() async {
  return await _channel
      .invokeMethod(OkHiNativeMethod.isForegroundServiceRunning);
}