addLocationGenerator abstract method

String addLocationGenerator(
  1. double latMin,
  2. double latMax,
  3. double lonMin,
  4. double lonMax,
  5. double accMin,
  6. double accMax,
  7. int timeout,
)

@brief Method adds a location generator for simulating location measurements. @param latMin Minimum latitude for the simulated location. @param latMax Maximum latitude for the simulated location. @param lonMin Minimum longitude for the simulated location. @param lonMax Maximum longitude for the simulated location. @param accMin Minimum accuracy for the simulated location (in meters). @param accMax Maximum accuracy for the simulated location (in meters). @param timeout Duration of the generator in milliseconds. @return Unique identifier of the created location generator.

Dart code snippet: @snippet measurement_manager_example.dart dart_MeasurementManager_addLocationGenerator

Implementation

String addLocationGenerator(double latMin, double latMax, double lonMin, double lonMax, double accMin, double accMax, int timeout);