TrackerConfig constructor
const
TrackerConfig({
- AccuracyMode accuracyMode = AccuracyMode.balanced,
- double distanceFilter = 10.0,
- int timeInterval = 10,
- bool enableAdaptiveTracking = true,
- int lowBatteryThreshold = 20,
- bool enableMotionDetection = true,
- int stationaryTimeout = 300,
- bool enableActivityRecognition = true,
- int maxDatabaseSize = 50,
- int dataRetentionDays = 7,
- String? syncUrl,
- Map<
String, String> ? syncHeaders, - int syncBatchSize = 100,
- 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,
});