Class SystemLocationDataSource
Provides location for the GeoView.LocationDisplay using the system's built-in location data source (if available).
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Esri.ArcGISRuntime.Location
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class SystemLocationDataSource : LocationDataSource
Remarks
Location Display requires the Location Capability for the app to be enabled.
Constructors
| Name | Description |
|---|---|
| SystemLocationDataSource() | Initializes a new instance of the SystemLocationDataSource class for receiving location information from the platform's built-in location capabilities |
Methods
| Name | Description |
|---|---|
| OnStartAsync() | Invoked when the location tracking is started via the StartAsync() method |
| OnStopAsync() | Invoked when the location tracking is stopped via the StopAsync() method |
Applies to
| Target | Versions |
|---|---|
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.0 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 100.15 |