Class SimulatedLocationDataSource
A location data source that provides simulated device locations for testing.
Namespace: Esri.ArcGISRuntime.Location
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class SimulatedLocationDataSource : LocationDataSource
Remarks
Use this data source to simulate location updates for a device. It uses a collection of
Location objects that are sequentially passed to
Update
Constructors
Name | Description |
---|---|
Simulated |
Initializes a new instance of the Simulated |
Properties
Name | Description |
---|---|
Current |
Gets or sets the index of the item in the Locations collection that provides the current location. |
Iteration |
Gets or sets the rate over which the Locations collection is iterated. |
Locations | Gets or sets a collection of Locations that are iterated sequentially. |
Methods
Name | Description |
---|---|
On |
Called when location tracking has started |
On |
Called when location tracking has stopped |
Set |
Creates a collection of locations using vertices from an input Polyline. |
Set |
Creates a collection of locations along an input Polyline based on simulation parameters. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.8 - 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.8 - 200.6 |
Xamarin.Android | 100.8 - 100.15 |
Xamarin.iOS | 100.8 - 100.15 |
UWP | 100.8 - 200.6 |