getPauseLocationUpdatesAutomatically method

bool getPauseLocationUpdatesAutomatically()
inherited

On iOS devices this checks if automatic pausing of location updates is enabled. Returns true if automatic pausing of location updates is enabled, false otherwise.

On Android devices this is not supported and false is returned.

Implementation

bool getPauseLocationUpdatesAutomatically() {
  if (Platform.isIOS) {
    return _location.getPauseLocationUpdatesAutomatically();
  }
  return false;
}