PositionStatusExtensions
Namespace: XPlat.Device.Geolocation.Extensions
Defines a collection of extensions for the PositionStatus enum.
Supported platforms
Platform
Version
.NET Standard
2.0
Xamarin.Android
9.0
Xamarin.iOS
1.0
UWP
10.0.16299
Static Methods
ToInternalPositionStatus(this Windows.Devices.Geolocation.PositionStatus) - Windows
Converts the Windows PositionStatus enum to the internal XPlat equivalent.
Parameters
status (Windows.Devices.Geolocation.PositionStatus)
The Windows PositionStatus to convert.
Returns
Returns the equivalent XPlat PositionStatus value.
ToWindowsPositionStatus(this PositionStatus) - Windows
Converts the XPlat PositionStatus enum to the Windows equivalent.
Parameters
status (Windows.Devices.Geolocation.GeolocationAccessStatus)
The XPlat PositionStatus to convert.
Returns
Returns the equivalent Windows PositionStatus value.
Last updated