Show / Hide Table of Contents

Enum LocationPowerSaveMode

How location features are configured to behave on the mobile device when the devices "battery saver" feature is on. (https://developer.android.com/reference/android/os/PowerManager#getLocationPowerSaveMode())

Namespace: Google.Maps.FleetEngine.V1
Assembly: Google.Maps.FleetEngine.V1.dll
Syntax
public enum LocationPowerSaveMode

Fields

Name Description
LocationModeAllDisabledWhenScreenOff

All location providers should be disabled when battery saver is on and the device is non-interactive.

LocationModeForegroundOnly

All the location providers will be kept available, but location fixes should only be provided to foreground apps.

LocationModeGpsDisabledWhenScreenOff

The GPS based location provider should be disabled when battery saver is on and the device is non-interactive.

LocationModeNoChange

Either the location providers shouldn't be affected by battery saver, or battery saver is off.

LocationModeThrottleRequestsWhenScreenOff

Location will not be turned off, but LocationManager will throttle all requests to providers when the device is non-interactive.

UnknownLocationPowerSaveMode

Undefined LocationPowerSaveMode

In this article
Back to top Generated by DocFX