SecurityLocationMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates values returned by several types.
public enum SecurityLocationMode
type SecurityLocationMode =
- Inheritance
-
SecurityLocationMode
Fields
| Name | Value | Description |
|---|---|---|
| Off | 0 | Location mode is off. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| SensorsOnly | 1 | This constant was deprecated in API level 28. See LOCATION_MODE. On Android 9 and earlier, this mode enables GPS and disables network location. Starting with Android 10, this mode has no distinct meaning and is interpreted as location being on. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| BatterySaving | 2 | This constant was deprecated in API level 28. See LOCATION_MODE. On Android 9 and earlier, this mode enables network location and disables GPS. Starting with Android 10, this mode has no distinct meaning and is interpreted as location being on. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| HighAccuracy | 3 | This constant was deprecated in API level 28. See LOCATION_MODE. On Android 9 and earlier, this mode enables both GPS and network location. Starting with Android 10, this mode has no distinct meaning and is interpreted as location being on. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.