Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public enum class PositionSource
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)] enum class PositionSource
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)] public enum PositionSource
var value = Windows.Devices.Geolocation.PositionSource.cellular
Public Enum PositionSource
Windows 10 (introduced in 10.0.10240.0)
Windows.Foundation.UniversalApiContract (introduced in v1.0)
location ID_CAP_LOCATION [Windows Phone]
The position was obtained from cellular network data.
(Starting with Windows 10, version 1607.) The position was obtained from the user's manually-set location.
(Starting with Windows 8.1.) The position was obtained from an IP address.
(Starting with Windows 10, version 1607.) The position was obtained via the coarse location feature and was therefore intentionally made inaccurate to a degree.
The position was obtained from satellite data.
(Starting with Windows 8.1.) The position was obtained from an unknown source.
The position was obtained from Wi-Fi network data.
|Windows version||SDK version||Value added|