Compartir a través de


LOCATION_DESIRED_ACCURACY enumeration

[The Win32 Location API is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. Instead, use the Windows.Devices.Geolocation API. ]

Defines the possible desired accuracy types.

Syntax

typedef enum  { 
  LOCATION_DESIRED_ACCURACY_DEFAULT  = 0,
  LOCATION_DESIRED_ACCURACY_HIGH     = 1
} LOCATION_DESIRED_ACCURACY;

Constants

  • LOCATION_DESIRED_ACCURACY_DEFAULT
    The sensor should use the accuracy for which it can optimize power use and other cost considerations.

  • LOCATION_DESIRED_ACCURACY_HIGH
    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.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

None supported

Header

LocationApi.h

See also

GetDesiredAccuracy

SetDesiredAccuracy