Config constructor
Config({
- int? desiredAccuracy,
- double? distanceFilter,
- double? stationaryRadius,
- int? locationTimeout,
- bool? disableElasticity,
- double? elasticityMultiplier,
- int? stopAfterElapsedMinutes,
- int? geofenceProximityRadius,
- int? maxMonitoredGeofences,
- bool? geofenceInitialTriggerEntry,
- double? desiredOdometerAccuracy,
- bool? useSignificantChangesOnly,
- String? locationAuthorizationRequest,
- bool? isMoving,
- int? stopTimeout,
- int? activityRecognitionInterval,
- int? minimumActivityRecognitionConfidence,
- bool? disableStopDetection,
- bool? stopOnStationary,
- String? url,
- int? persistMode,
- String? method,
- String? httpRootProperty,
- Map<
String, dynamic> ? params, - Map<
String, dynamic> ? headers, - Map<
String, dynamic> ? extras, - bool? autoSync,
- bool? disableAutoSyncOnCellular,
- bool? disableProviderChangeRecord,
- int? autoSyncThreshold,
- bool? batchSync,
- int? maxBatchSize,
- String? locationTemplate,
- String? geofenceTemplate,
- int? maxDaysToPersist,
- int? maxRecordsToPersist,
- String? locationsOrderDirection,
- int? httpTimeout,
- Authorization? authorization,
- bool? stopOnTerminate,
- bool? startOnBoot,
- int? heartbeatInterval,
- List<
String> ? schedule, - bool? scheduleUseAlarmManager,
- bool? debug,
- int? logLevel,
- int? logMaxDays,
- bool? reset,
- bool? pausesLocationUpdatesAutomatically,
- Map<
String, dynamic> ? locationAuthorizationAlert, - bool? disableLocationAuthorizationAlert,
- bool? showsBackgroundLocationIndicator,
- int? activityType,
- int? stopDetectionDelay,
- bool? disableMotionActivityUpdates,
- bool? preventSuspend,
- int? locationUpdateInterval,
- int? fastestLocationUpdateInterval,
- int? deferTime,
- bool? allowIdenticalLocations,
- bool? enableTimestampMeta,
- int? speedJumpFilter,
- bool? geofenceModeHighAccuracy,
- String? triggerActivities,
- int? motionTriggerDelay,
- bool? enableHeadless,
- bool? foregroundService,
- bool? forceReloadOnLocationChange,
- bool? forceReloadOnMotionChange,
- bool? forceReloadOnGeofence,
- bool? forceReloadOnBoot,
- bool? forceReloadOnHeartbeat,
- bool? forceReloadOnSchedule,
- Notification? notification,
- int? notificationPriority,
- String? notificationTitle,
- String? notificationText,
- String? notificationColor,
- String? notificationSmallIcon,
- String? notificationLargeIcon,
- String? notificationChannelName,
- PermissionRationale? backgroundPermissionRationale,
- TransistorAuthorizationToken? transistorAuthorizationToken,
Implementation
Config(
{
// Geolocation Options
this.desiredAccuracy,
this.distanceFilter,
this.stationaryRadius,
this.locationTimeout,
this.disableElasticity,
this.elasticityMultiplier,
this.stopAfterElapsedMinutes,
this.geofenceProximityRadius,
this.maxMonitoredGeofences,
this.geofenceInitialTriggerEntry,
this.desiredOdometerAccuracy,
this.useSignificantChangesOnly,
this.locationAuthorizationRequest,
// ActivityRecognition
this.isMoving,
this.stopTimeout,
this.activityRecognitionInterval,
this.minimumActivityRecognitionConfidence,
this.disableStopDetection,
this.stopOnStationary,
// HTTP & Persistence
this.url,
this.persistMode,
this.method,
this.httpRootProperty,
this.params,
this.headers,
this.extras,
this.autoSync,
this.disableAutoSyncOnCellular,
this.disableProviderChangeRecord,
this.autoSyncThreshold,
this.batchSync,
this.maxBatchSize,
this.locationTemplate,
this.geofenceTemplate,
this.maxDaysToPersist,
this.maxRecordsToPersist,
this.locationsOrderDirection,
this.httpTimeout,
this.authorization,
// Application
this.stopOnTerminate,
this.startOnBoot,
this.heartbeatInterval,
this.schedule,
this.scheduleUseAlarmManager,
// Logging & Debug
this.debug,
this.logLevel,
this.logMaxDays,
this.reset,
////
// iOS Options
//
// Geolocation Options
this.pausesLocationUpdatesAutomatically,
this.locationAuthorizationAlert,
this.disableLocationAuthorizationAlert,
this.showsBackgroundLocationIndicator,
// Activity Recognition Options
this.activityType,
this.stopDetectionDelay,
this.disableMotionActivityUpdates,
// Application Options
this.preventSuspend,
////
// Android Options
//
// Geolocation Options
this.locationUpdateInterval,
this.fastestLocationUpdateInterval,
this.deferTime,
this.allowIdenticalLocations,
this.enableTimestampMeta,
this.speedJumpFilter,
this.geofenceModeHighAccuracy,
// Activity Recognition Options
this.triggerActivities,
this.motionTriggerDelay,
// Application Options
this.enableHeadless,
this.foregroundService,
this.forceReloadOnLocationChange,
this.forceReloadOnMotionChange,
this.forceReloadOnGeofence,
this.forceReloadOnBoot,
this.forceReloadOnHeartbeat,
this.forceReloadOnSchedule,
this.notification,
this.notificationPriority,
this.notificationTitle,
this.notificationText,
this.notificationColor,
this.notificationSmallIcon,
this.notificationLargeIcon,
this.notificationChannelName,
this.backgroundPermissionRationale,
this.transistorAuthorizationToken});