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
Remarks
This is a base class for a number of different location data sources, such as Indoors
Constructors
Name | Description |
---|---|
Location |
Initializes a new instance of the Location |
Properties
Name | Description |
---|---|
Error | Gets an System. |
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 the location data source asynchronously and prepares to begin receiving location updates. |
Stop |
Stops location tracking. |
Update |
Updates the current heading angle, in degrees clockwise, relative to north. |
Update |
Updates the position of 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 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |