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 |
---|---|
System.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 - 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 |