PositionAccuracy enumeration

Applies to Windows and Windows Phone

Indicates the requested accuracy level for the location data that the application uses.

Syntax

Public Enum PositionAccuracy

Attributes

[Version(0x06020000)]

Members

The PositionAccuracy enumeration has these members.

MemberValueDescription
Default | default0

Optimize for power, performance, and other cost considerations.

High | high1

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.

Remarks

Setting the DesiredAccuracy property of the Geolocator object is not guaranteed to have an effect on the accuracy of data.

The Geolocator object is created with a DesiredAccuracy of Default, if not otherwise specified.

Requirements

Minimum supported client

Windows 8

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Devices.Geolocation
Windows::Devices::Geolocation [C++]

Metadata

Windows.winmd

Capabilities

location
ID_CAP_LOCATION [Windows Phone]

 

 

Show:
© 2014 Microsoft