iterationRate property

double iterationRate

The rate over which the SimulatedLocationDataSource.locations collection is iterated.

This controls the frequency of location updates for the simulated location data source. The default value is 1.0, resulting in calls to LocationDataSource.updateLocation 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 ArcGISLocation.timestamp property of the items in the SimulatedLocationDataSource.locations (they are always 1 second apart).

Implementation

double get iterationRate {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_SimulatedLocationDataSource_getIterationRate(
      _handle,
      errorHandler,
    );
  });
}
void iterationRate=(double value)

Implementation

set iterationRate(double value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_SimulatedLocationDataSource_setIterationRate(
      _handle,
      value,
      errorHandler,
    );
  });
}