Class LocationDataSource
A base class for location information.
The datasource can be used with the LocationMapView's
LocationDisplay
property.
Inheritance
Namespace: Esri.ArcGISRuntime.Location
Assembly: Esri.ArcGISRuntime.dll
Syntax
public abstract class LocationDataSource
Constructors
Name | Description |
---|---|
Location |
Initializes a new instance of the Location |
Properties
Name | Description |
---|---|
Error | Gets an Exception that describes a problem encountered while starting or running the Location |
Status | Gets the current status of the location datasource. |
Methods
Name | Description |
---|---|
Create |
Creates a default location datasource using the system location. |
On |
Called when location tracking has started |
On |
Called when location tracking has stopped |
Start |
Starts location tracking |
Stop |
Stops location tracking |
Update |
Updates the current heading |
Update |
Updates the current location |
Events
Name | Description |
---|---|
Error |
Indicates that the Error property has changed. |
Heading |
Raised when the compass heading has changed. |
Location |
Raised when the location data source has a new location. |
Status |
Raised when the data source status has changed. |
See Also
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.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 |