Property IterationRate
IterationRate
Gets or sets the rate over which the Locations collection is iterated.
Declaration
public double IterationRate { get; set; }
Property Value
Type | Description |
---|---|
Double | Rate at which the LocationDataSource is iterated over (default is 1.0) |
Remarks
This controls the frequency of location updates for the simulated location data source. The default value is 1.0, resulting in calls to UpdateLocation(Location) every second. To increase the frequency, provide a higher value. A value of 2.0, for example, doubles the frequency of location updates. To slow down updates, provide a lower value. A value of 0.5, for example, decreases location updates by a factor of two. The iteration rate does not affect the Timestamp property of the items in the Locations (they are always 1 second apart).
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.8 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.8 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.8 - 100.12 |
Xamarin.Android | 100.8 - 100.15 |
Xamarin.iOS | 100.8 - 100.15 |
UWP | 100.8 - 100.15 |