Class SystemLocationDataSource
Provides location for the GeoView.LocationDisplay using the system's built-in location data source (if available).
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 |
Properties
Name | Description |
---|---|
ActivityType | Gets or sets the expected activity performed by the user while an app uses location. |
AllowsBackgroundLocationUpdates | Gets or sets a value indicating whether location update events can be raised when an app is in the background. |
DesiredAccuracy | Gets or sets a value indicating the desired accuracy of device location. |
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 Standard 2.0 | 200.3 - 200.8 |
.NET | 100.13 - 200.8 |
.NET Windows | 100.13 - 200.8 |
.NET Android | 200.0 - 200.8 |
.NET iOS | 200.0 - 200.8 |
.NET Framework | 100.0 - 200.8 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.8 |