PositionAccuracy 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.
Indicates the requested accuracy level for the ___location data that the application uses.
public enum class PositionAccuracy
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class PositionAccuracy
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum PositionAccuracy
var value = Windows.Devices.Geolocation.PositionAccuracy.default
Public Enum PositionAccuracy
- Inheritance
-
PositionAccuracy
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
App capabilities |
___location
ID_CAP_LOCATION [Windows Phone]
|
Fields
Name | Value | Description |
---|---|---|
Default | 0 | Optimize for power, performance, and other cost considerations. |
High | 1 | Deliver the most accurate report possible. This includes using services that might charge money, or consuming higher levels of battery power or connection bandwidth. An accuracy level of High may degrade system performance and should be used only when necessary. |