Config constructor

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