Config constructor

const Config({
  1. DesiredAccuracy? desiredAccuracy,
  2. double? distanceFilter,
  3. int? locationUpdateInterval,
  4. int? fastestLocationUpdateInterval,
  5. int? activityRecognitionInterval,
  6. int? stopTimeout,
  7. int? stopAfterElapsedMinutes,
  8. int? stopDetectionDelay,
  9. int? motionTriggerDelay,
  10. int? minimumActivityRecognitionConfidence,
  11. bool? useSignificantChangesOnly,
  12. bool? allowIdenticalLocations,
  13. bool? disableMotionActivityUpdates,
  14. bool? disableStopDetection,
  15. bool? disableProviderChangeRecord,
  16. bool? disableLocationAuthorizationAlert,
  17. bool? enableHeadless,
  18. bool? startOnBoot,
  19. bool? stopOnTerminate,
  20. bool? foregroundService,
  21. bool? preventSuspend,
  22. bool? pausesLocationUpdatesAutomatically,
  23. bool? showsBackgroundLocationIndicator,
  24. double? stationaryRadius,
  25. double? desiredOdometerAccuracy,
  26. double? elasticityMultiplier,
  27. double? speedJumpFilter,
  28. bool? stopOnStationary,
  29. bool? geofenceModeHighAccuracy,
  30. bool? geofenceInitialTriggerEntry,
  31. int? geofenceProximityRadius,
  32. int? maxMonitoredGeofences,
  33. int? locationTimeout,
  34. int? httpTimeout,
  35. int? maxRetry,
  36. int? retryDelay,
  37. double? retryDelayMultiplier,
  38. int? maxRetryDelay,
  39. String? bgTaskId,
  40. String? url,
  41. String? method,
  42. JsonMap? headers,
  43. JsonMap? params,
  44. JsonMap? extras,
  45. bool? autoSync,
  46. bool? batchSync,
  47. int? maxBatchSize,
  48. int? autoSyncThreshold,
  49. bool? disableAutoSyncOnCellular,
  50. int? queueMaxDays,
  51. int? queueMaxRecords,
  52. String? idempotencyHeader,
  53. PersistMode? persistMode,
  54. int? maxDaysToPersist,
  55. int? maxRecordsToPersist,
  56. String? locationTemplate,
  57. String? geofenceTemplate,
  58. String? httpRootProperty,
  59. List<String>? schedule,
  60. bool? scheduleUseAlarmManager,
  61. bool? forceReloadOnBoot,
  62. bool? forceReloadOnLocationChange,
  63. bool? forceReloadOnMotionChange,
  64. bool? forceReloadOnGeofence,
  65. bool? forceReloadOnHeartbeat,
  66. bool? forceReloadOnSchedule,
  67. bool? enableTimestampMeta,
  68. NotificationConfig? notification,
  69. LogLevel? logLevel,
  70. int? logMaxDays,
  71. int? heartbeatInterval,
  72. PermissionRationale? backgroundPermissionRationale,
  73. List<ActivityType>? triggerActivities,
  74. AdaptiveTrackingConfig? adaptiveTracking,
  75. LowBatteryConfig? lowBattery,
  76. SpoofDetectionConfig? spoofDetection,
})

Implementation

const Config({
  this.desiredAccuracy,
  this.distanceFilter,
  this.locationUpdateInterval,
  this.fastestLocationUpdateInterval,
  this.activityRecognitionInterval,
  this.stopTimeout,
  this.stopAfterElapsedMinutes,
  this.stopDetectionDelay,
  this.motionTriggerDelay,
  this.minimumActivityRecognitionConfidence,
  this.useSignificantChangesOnly,
  this.allowIdenticalLocations,
  this.disableMotionActivityUpdates,
  this.disableStopDetection,
  this.disableProviderChangeRecord,
  this.disableLocationAuthorizationAlert,
  this.enableHeadless,
  this.startOnBoot,
  this.stopOnTerminate,
  this.foregroundService,
  this.preventSuspend,
  this.pausesLocationUpdatesAutomatically,
  this.showsBackgroundLocationIndicator,
  this.stationaryRadius,
  this.desiredOdometerAccuracy,
  this.elasticityMultiplier,
  this.speedJumpFilter,
  this.stopOnStationary,
  this.geofenceModeHighAccuracy,
  this.geofenceInitialTriggerEntry,
  this.geofenceProximityRadius,
  this.maxMonitoredGeofences,
  this.locationTimeout,
  this.httpTimeout,
  this.maxRetry,
  this.retryDelay,
  this.retryDelayMultiplier,
  this.maxRetryDelay,
  this.bgTaskId,
  this.url,
  this.method,
  this.headers,
  this.params,
  this.extras,
  this.autoSync,
  this.batchSync,
  this.maxBatchSize,
  this.autoSyncThreshold,
  this.disableAutoSyncOnCellular,
  this.queueMaxDays,
  this.queueMaxRecords,
  this.idempotencyHeader,
  this.persistMode,
  this.maxDaysToPersist,
  this.maxRecordsToPersist,
  this.locationTemplate,
  this.geofenceTemplate,
  this.httpRootProperty,
  this.schedule,
  this.scheduleUseAlarmManager,
  this.forceReloadOnBoot,
  this.forceReloadOnLocationChange,
  this.forceReloadOnMotionChange,
  this.forceReloadOnGeofence,
  this.forceReloadOnHeartbeat,
  this.forceReloadOnSchedule,
  this.enableTimestampMeta,
  this.notification,
  this.logLevel,
  this.logMaxDays,
  this.heartbeatInterval,
  this.backgroundPermissionRationale,
  this.triggerActivities,
  this.adaptiveTracking,
  this.lowBattery,
  this.spoofDetection,
});