PositionSource PositionSource PositionSource PositionSource Enum

Indicates the source used to obtain a Geocoordinate.

Syntax

Declaration

public enum PositionSourcepublic enum PositionSourcePublic Enum PositionSource

Fields

Cellular
Cellular
Cellular
Cellular

The position was obtained from cellular network data.

Default
Default
Default
Default

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

IPAddress
IPAddress
IPAddress
IPAddress

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

Obfuscated
Obfuscated
Obfuscated
Obfuscated

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

Satellite
Satellite
Satellite
Satellite

The position was obtained from satellite data.

Unknown
Unknown
Unknown
Unknown

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

WiFi
WiFi
WiFi
WiFi

The position was obtained from Wi-Fi network data.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Capabilities

ID_CAP_LOCATION [Windows Phone]

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute

Details

Assembly

Windows.Devices.Geolocation.dll