Skip to content

Latest commit

 

History

History
66 lines (37 loc) · 2.67 KB

locationdisp-latlongreportfactory-desiredaccuracy.md

File metadata and controls

66 lines (37 loc) · 2.67 KB
description ms.assetid title ms.topic ms.date topic_type api_name api_type api_location
LocationDisp.LatLongReportFactory.DesiredAccuracy property - The current desired-accuracy value.
dfad833b-bb0c-4c66-9942-da10abee5381
LocationDisp.LatLongReportFactory.DesiredAccuracy property
reference
05/31/2018
APIRef
kbSyntax
LocationDisp.LatLongReportFactory.DesiredAccuracy
COM

LocationDisp.LatLongReportFactory.DesiredAccuracy property

[The Location API object model is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. Instead, to access location from a website, use the W3C Geolocation API. To access location from a desktop application, use the Windows.Devices.Geolocation API.]

The current desired-accuracy value.

This property is read/write.

Syntax

DesiredAccuracy = LocationDisp.LatLongReportFactory.DesiredAccuracy
LocationDisp.LatLongReportFactory.DesiredAccuracy = DesiredAccuracy

Property value

This property is a read/write ULONG.

Value Meaning
0
Default. The sensor should use the accuracy for which it can optimize power use and other cost considerations.
1
The sensor should deliver the most accurate report possible. This includes using services that might charge money, or consuming higher levels of battery power or connection bandwidth.

Remarks

This value is a request to the location provider. The location provider is not required to provide reports at the interval you requested. Read the value of this property to discover the true report interval setting.

Requirements

Requirement Value
Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
None supported