LocationSetting
Last updated
Last updated
Represents the location mode settings on the device. The location mode indicates which location providers are enabled.
OK
All location providers are enabled.
DISABLED
None of the location providers are enabled.
BATTERY_SAVING
In "battery saving" mode, only the network-based location provider is enabled (e.g. wifi, cell towers). The GPS-based location provider is disabled. This is still generally okay for SDK detections.
DEVICE_ONLY
In "device only" mode, only the GPS-based network provider is enabled. The network-based location provider is disabled. This is generally not okay for SDK detections, because GPS cannot provide accurate indoor positioning.