Share via


PositionAccuracy Enum

Definition

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.

Applies to