setPauseLocationUpdatesAutomatically abstract method
- 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.
allowedSet totrueto allow automatic pausing of location updates, orfalseto 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);