TrackerConfig constructor

const TrackerConfig({
  1. AccuracyMode accuracyMode = AccuracyMode.balanced,
  2. double distanceFilter = 10.0,
  3. int timeInterval = 10,
  4. bool enableAdaptiveTracking = true,
  5. int lowBatteryThreshold = 20,
  6. bool enableMotionDetection = true,
  7. int stationaryTimeout = 300,
  8. bool enableActivityRecognition = true,
  9. int maxDatabaseSize = 50,
  10. int dataRetentionDays = 7,
  11. String? syncUrl,
  12. Map<String, String>? syncHeaders,
  13. int syncBatchSize = 100,
  14. int syncInterval = 300,
})

Implementation

const TrackerConfig({
  this.accuracyMode = AccuracyMode.balanced,
  this.distanceFilter = 10.0,
  this.timeInterval = 10,
  this.enableAdaptiveTracking = true,
  this.lowBatteryThreshold = 20,
  this.enableMotionDetection = true,
  this.stationaryTimeout = 300,
  this.enableActivityRecognition = true,
  this.maxDatabaseSize = 50,
  this.dataRetentionDays = 7,
  this.syncUrl,
  this.syncHeaders,
  this.syncBatchSize = 100,
  this.syncInterval = 300,
});