Method CreateDefault
CreateDefault()
Creates a default location datasource using the system location.
Declaration
[RequiresPermission("android.permission.ACCESS_FINE_LOCATION")]
public static LocationDataSource CreateDefault()
Returns
Exceptions
Type |
Condition |
System.PlatformNotSupportedException |
|
Applies to
Platforms and versions
Target | Versions |
.NET Standard 2.0 | 100.9 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.9 - 200.5 |
Xamarin.Android | 100.9 - 100.15 |
Xamarin.iOS | 100.9 - 100.15 |
UWP | 100.9 - 200.5 |