Config constructor

Config({
  1. GeoConfig? geolocation,
  2. AppConfig? app,
  3. HttpConfig? http,
  4. PersistenceConfig? persistence,
  5. LoggerConfig? logger,
  6. ActivityConfig? activity,
  7. Authorization? authorization,
  8. int? desiredAccuracy,
  9. double? distanceFilter,
  10. double? stationaryRadius,
  11. int? locationTimeout,
  12. bool? disableElasticity,
  13. double? elasticityMultiplier,
  14. int? stopAfterElapsedMinutes,
  15. int? geofenceProximityRadius,
  16. int? maxMonitoredGeofences,
  17. bool? geofenceInitialTriggerEntry,
  18. double? desiredOdometerAccuracy,
  19. bool? useSignificantChangesOnly,
  20. String? locationAuthorizationRequest,
  21. bool? isMoving,
  22. int? stopTimeout,
  23. int? activityRecognitionInterval,
  24. int? minimumActivityRecognitionConfidence,
  25. bool? disableStopDetection,
  26. bool? stopOnStationary,
  27. String? url,
  28. int? persistMode,
  29. String? method,
  30. String? httpRootProperty,
  31. Map<String, dynamic>? params,
  32. Map<String, dynamic>? headers,
  33. Map<String, dynamic>? extras,
  34. bool? autoSync,
  35. bool? disableAutoSyncOnCellular,
  36. bool? disableProviderChangeRecord,
  37. int? autoSyncThreshold,
  38. bool? batchSync,
  39. int? maxBatchSize,
  40. String? locationTemplate,
  41. String? geofenceTemplate,
  42. int? maxDaysToPersist,
  43. int? maxRecordsToPersist,
  44. String? locationsOrderDirection,
  45. int? httpTimeout,
  46. bool? stopOnTerminate,
  47. bool? startOnBoot,
  48. int? heartbeatInterval,
  49. List<String>? schedule,
  50. bool? scheduleUseAlarmManager,
  51. bool? debug,
  52. int? logLevel,
  53. int? logMaxDays,
  54. bool? reset,
  55. bool? pausesLocationUpdatesAutomatically,
  56. Map<String, dynamic>? locationAuthorizationAlert,
  57. bool? disableLocationAuthorizationAlert,
  58. bool? showsBackgroundLocationIndicator,
  59. int? activityType,
  60. int? stopDetectionDelay,
  61. bool? disableMotionActivityUpdates,
  62. bool? preventSuspend,
  63. int? locationUpdateInterval,
  64. int? fastestLocationUpdateInterval,
  65. int? deferTime,
  66. bool? allowIdenticalLocations,
  67. bool? enableTimestampMeta,
  68. int? speedJumpFilter,
  69. bool? geofenceModeHighAccuracy,
  70. String? triggerActivities,
  71. int? motionTriggerDelay,
  72. bool? enableHeadless,
  73. bool? foregroundService,
  74. Notification? notification,
  75. PermissionRationale? backgroundPermissionRationale,
  76. TransistorAuthorizationToken? transistorAuthorizationToken,
})

Implementation

Config(
    {
    // [New] Compound Config objects
    this.geolocation,
    this.app,
    this.http,
    this.persistence,
    this.logger,
    this.activity,
    this.authorization,
    // [Deprecated] flat config options
    // 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,

    // 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.notification,
    this.backgroundPermissionRationale,
    this.transistorAuthorizationToken});