setPauseLocationUpdatesAutomatically abstract method

LocationEngineStatus setPauseLocationUpdatesAutomatically(
  1. bool allowed
)

Controls automatic pausing of location updates e.g.

for improving device's battery life at times when location data is unlikely to change. By default automatic pausing of location updates is allowed.

  • allowed Set to true to allow automatic pausing of location updates, or false to disable them.

Returns LocationEngineStatus. LocationEngineStatus.ok if call succeeds. LocationEngineStatus.notSupported on platforms which do not support automatic pausing of location updates.

Implementation

LocationEngineStatus setPauseLocationUpdatesAutomatically(bool allowed);