PositionSource PositionSource PositionSource PositionSource PositionSource Enum

Definition

Indicates the source used to obtain a Geocoordinate.

public : enum class PositionSource
enum class winrt::Windows::Devices::Geolocation::PositionSource : int32_t
public enum PositionSource
Public Enum PositionSource
var value = Windows.Devices.Geolocation.PositionSource.cellular;
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
location ID_CAP_LOCATION [Windows Phone]

Fields

Cellular Cellular Cellular Cellular Cellular 0

The position was obtained from cellular network data.

Default Default Default Default Default 5

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

IPAddress IPAddress IPAddress IPAddress IPAddress 3

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

Obfuscated Obfuscated Obfuscated Obfuscated Obfuscated 6

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

Satellite Satellite Satellite Satellite Satellite 1

The position was obtained from satellite data.

Unknown Unknown Unknown Unknown Unknown 4

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

WiFi WiFi WiFi WiFi WiFi 2

The position was obtained from Wi-Fi network data.

Remarks

Version history

Windows version SDK version Value added
1607 14393 Default
1607 14393 Obfuscated