PositionSource enumeration
Collapse the table of content
Expand the table of content

PositionSource enumeration

Indicates the source used to obtain a Geocoordinate.

Syntax


Public Enum PositionSource

Members

The PositionSource enumeration has these members.

MemberValueDescription
Cellular | cellular0

The position was obtained from cellular network data.

Satellite | satellite1

The position was obtained from satellite data.

WiFi | wiFi2

The position was obtained from Wi-Fi network data.

IPAddress | ipAddress3

(Starting with Windows 8.1.) The position was obtained from an IP address.

Unknown | unknown4

(Starting with Windows 8.1.) The position was obtained from an unknown source.

Default | default5

(Starting with Windows 10, version 1607.) The position was obtained from the user's manually-set location.

Obfuscated | obfuscated6

(Starting with Windows 10, version 1607.) The position was obtained via the Consentless Location feature and was therefore intentionally made inaccurate to a degree.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Capabilities

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

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

Metadata

Windows.winmd

Capabilities

ID_CAP_LOCATION [Windows Phone]

Attributes

[Version(0x06030000)]

 

 

Show:
© 2016 Microsoft