Config constructor
const
Config({ - DesiredAccuracy? desiredAccuracy,
- double? distanceFilter,
- int? locationUpdateInterval,
- int? fastestLocationUpdateInterval,
- int? activityRecognitionInterval,
- int? stopTimeout,
- int? stopAfterElapsedMinutes,
- int? stopDetectionDelay,
- int? motionTriggerDelay,
- int? minimumActivityRecognitionConfidence,
- bool? useSignificantChangesOnly,
- bool? allowIdenticalLocations,
- bool? disableMotionActivityUpdates,
- bool? disableStopDetection,
- bool? disableProviderChangeRecord,
- bool? disableLocationAuthorizationAlert,
- bool? enableHeadless,
- bool? startOnBoot,
- bool? stopOnTerminate,
- bool? foregroundService,
- bool? preventSuspend,
- bool? pausesLocationUpdatesAutomatically,
- bool? showsBackgroundLocationIndicator,
- double? stationaryRadius,
- double? desiredOdometerAccuracy,
- double? elasticityMultiplier,
- double? speedJumpFilter,
- bool? stopOnStationary,
- bool? geofenceModeHighAccuracy,
- bool? geofenceInitialTriggerEntry,
- int? geofenceProximityRadius,
- int? maxMonitoredGeofences,
- int? locationTimeout,
- int? httpTimeout,
- int? maxRetry,
- int? retryDelay,
- double? retryDelayMultiplier,
- int? maxRetryDelay,
- String? bgTaskId,
- String? url,
- String? method,
- JsonMap? params,
- bool? autoSync,
- bool? batchSync,
- int? maxBatchSize,
- int? autoSyncThreshold,
- bool? disableAutoSyncOnCellular,
- int? queueMaxDays,
- int? queueMaxRecords,
- PersistMode? persistMode,
- int? maxDaysToPersist,
- int? maxRecordsToPersist,
- String? locationTemplate,
- String? geofenceTemplate,
- String? httpRootProperty,
- List<String>? schedule,
- bool? scheduleUseAlarmManager,
- bool? forceReloadOnBoot,
- bool? forceReloadOnLocationChange,
- bool? forceReloadOnMotionChange,
- bool? forceReloadOnGeofence,
- bool? forceReloadOnHeartbeat,
- bool? forceReloadOnSchedule,
- bool? enableTimestampMeta,
- NotificationConfig? notification,
- LogLevel? logLevel,
- int? logMaxDays,
- int? heartbeatInterval,
- PermissionRationale? backgroundPermissionRationale,
- List<ActivityType>? triggerActivities,
- AdaptiveTrackingConfig? adaptiveTracking,
- LowBatteryConfig? lowBattery,
- 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,
});