@transistorsoft/background-geolocation-types 5.0.0-beta.3 → 5.0.0-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/dist/core/api/BackgroundGeolocation.d.ts +3 -1551
  2. package/dist/core/api/CurrentPositionRequest.d.ts +0 -36
  3. package/dist/core/api/DeviceSettings.d.ts +0 -63
  4. package/dist/core/api/Logger.d.ts +0 -400
  5. package/dist/core/api/State.d.ts +0 -63
  6. package/dist/core/api/TransistorAuthorizationService.d.ts +0 -110
  7. package/dist/core/config/ActivityConfig.d.ts +0 -260
  8. package/dist/core/config/AppConfig.d.ts +0 -581
  9. package/dist/core/config/AuthorizationConfig.d.ts +0 -191
  10. package/dist/core/config/Config.d.ts +1 -177
  11. package/dist/core/config/GeoConfig.d.ts +0 -876
  12. package/dist/core/config/HttpConfig.d.ts +0 -565
  13. package/dist/core/config/LocationFilter.d.ts +0 -256
  14. package/dist/core/config/LoggerConfig.d.ts +0 -313
  15. package/dist/core/config/NotificationConfig.d.ts +0 -504
  16. package/dist/core/config/PersistenceConfig.d.ts +0 -541
  17. package/dist/core/data/DeviceInfo.d.ts +0 -54
  18. package/dist/core/data/Geofence.d.ts +0 -5
  19. package/dist/core/data/Location.d.ts +0 -213
  20. package/dist/core/data/Sensors.d.ts +0 -22
  21. package/dist/core/events/AuthorizationEvent.d.ts +0 -9
  22. package/dist/core/events/ConnectivityChangeEvent.d.ts +0 -6
  23. package/dist/core/events/GeofenceEvent.d.ts +0 -10
  24. package/dist/core/events/GeofencesChangeEvent.d.ts +0 -7
  25. package/dist/core/events/HeadlessEvent.d.ts +0 -7
  26. package/dist/core/events/HeartbeatEvent.d.ts +0 -10
  27. package/dist/core/events/HttpEvent.d.ts +0 -8
  28. package/dist/core/events/MotionActivityEvent.d.ts +0 -7
  29. package/dist/core/events/MotionChangeEvent.d.ts +0 -7
  30. package/dist/core/events/ProviderChangeEvent.d.ts +0 -10
  31. package/dist/core/events/Subscription.d.ts +0 -83
  32. package/dist/docs-entry.js +0 -3
  33. package/dist/enums/AccuracyAuthorization.d.ts +0 -16
  34. package/dist/enums/AccuracyAuthorization.js +0 -12
  35. package/dist/enums/ActivityType.d.ts +0 -25
  36. package/dist/enums/ActivityType.js +0 -21
  37. package/dist/enums/AuthorizationStatus.d.ts +0 -16
  38. package/dist/enums/AuthorizationStatus.js +0 -13
  39. package/dist/enums/AuthorizationStrategy.d.ts +0 -9
  40. package/dist/enums/AuthorizationStrategy.js +0 -6
  41. package/dist/enums/DesiredAccuracy.d.ts +0 -6
  42. package/dist/enums/DesiredAccuracy.js +0 -5
  43. package/dist/enums/Event.d.ts +0 -9
  44. package/dist/enums/Event.js +0 -5
  45. package/dist/enums/GeofenceAction.d.ts +0 -17
  46. package/dist/enums/GeofenceAction.js +0 -13
  47. package/dist/enums/HttpMethod.d.ts +0 -7
  48. package/dist/enums/HttpMethod.js +0 -6
  49. package/dist/enums/KalmanProfile.d.ts +0 -26
  50. package/dist/enums/KalmanProfile.js +0 -25
  51. package/dist/enums/LocationError.d.ts +0 -19
  52. package/dist/enums/LocationError.js +0 -15
  53. package/dist/enums/LocationFilterPolicy.d.ts +0 -104
  54. package/dist/enums/LocationFilterPolicy.js +0 -103
  55. package/dist/enums/LocationRequest.d.ts +0 -19
  56. package/dist/enums/LocationRequest.js +0 -15
  57. package/dist/enums/LogLevel.d.ts +0 -20
  58. package/dist/enums/LogLevel.js +0 -16
  59. package/dist/enums/LogLevelName.d.ts +0 -6
  60. package/dist/enums/LogLevelName.js +0 -5
  61. package/dist/enums/MotionActivityType.d.ts +0 -6
  62. package/dist/enums/MotionActivityType.js +0 -5
  63. package/dist/enums/NotificationPriority.d.ts +0 -16
  64. package/dist/enums/NotificationPriority.js +0 -15
  65. package/dist/enums/PersistMode.d.ts +0 -7
  66. package/dist/enums/PersistMode.js +0 -6
  67. package/dist/enums/SQLQueryOrder.d.ts +0 -11
  68. package/dist/enums/SQLQueryOrder.js +0 -10
  69. package/dist/enums/TrackingMode.d.ts +0 -11
  70. package/dist/enums/TrackingMode.js +0 -10
  71. package/dist/enums/TriggerActivity.d.ts +0 -7
  72. package/dist/enums/TriggerActivity.js +0 -6
  73. package/dist/index.js +0 -4
  74. package/dist/legacy/LegacyConfig.d.ts +0 -19
  75. package/package.json +1 -1
@@ -1,19 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AuthorizationStatus = void 0;
4
- /**
5
- * iOS/Android location authorization status.
6
- *
7
- * | Name | Value | Platform |
8
- * |---------------------|:-----:|-------------------------|
9
- * | NotDetermined | 0 | iOS only |
10
- * | Restricted | 1 | iOS only |
11
- * | Denied | 2 | iOS & Android |
12
- * | Always | 3 | iOS & Android |
13
- * | WhenInUse | 4 | iOS & Android 10+ |
14
- *
15
- * @category Events
16
- */
17
4
  exports.AuthorizationStatus = {
18
5
  NotDetermined: 0,
19
6
  Restricted: 1,
@@ -1,14 +1,5 @@
1
- /**
2
- * Supported authorization strategies.
3
- * Mirrors Flutter's Authorization.strategy values.
4
- *
5
- * @category Config
6
- */
7
1
  export declare const AuthorizationStrategy: {
8
2
  readonly Jwt: "jwt";
9
3
  readonly Sas: "sas";
10
4
  };
11
- /**
12
- * @internal @hidden
13
- */
14
5
  export type AuthorizationStrategy = (typeof AuthorizationStrategy)[keyof typeof AuthorizationStrategy];
@@ -1,12 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AuthorizationStrategy = void 0;
4
- /**
5
- * Supported authorization strategies.
6
- * Mirrors Flutter's Authorization.strategy values.
7
- *
8
- * @category Config
9
- */
10
4
  exports.AuthorizationStrategy = {
11
5
  Jwt: 'jwt',
12
6
  Sas: 'sas'
@@ -1,8 +1,3 @@
1
- /**
2
- * Desired accuracy presets (meters / platform-tuned).
3
- *
4
- * @category Config
5
- */
6
1
  export declare const DesiredAccuracy: {
7
2
  readonly Navigation: -2;
8
3
  readonly High: -1;
@@ -11,5 +6,4 @@ export declare const DesiredAccuracy: {
11
6
  readonly VeryLow: 1000;
12
7
  readonly Lowest: 3000;
13
8
  };
14
- /** @internal @hidden */
15
9
  export type DesiredAccuracy = typeof DesiredAccuracy[keyof typeof DesiredAccuracy];
@@ -1,11 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DesiredAccuracy = void 0;
4
- /**
5
- * Desired accuracy presets (meters / platform-tuned).
6
- *
7
- * @category Config
8
- */
9
4
  exports.DesiredAccuracy = {
10
5
  Navigation: -2,
11
6
  High: -1,
@@ -1,8 +1,3 @@
1
- /**
2
- * Supported event names emitted by the SDK.
3
- *
4
- * @category Events
5
- */
6
1
  export declare const Event: {
7
2
  readonly Boot: "boot";
8
3
  readonly Terminate: "terminate";
@@ -21,8 +16,4 @@ export declare const Event: {
21
16
  readonly Schedule: "schedule";
22
17
  readonly Notification: "notification";
23
18
  };
24
- /**
25
- * Event names emitted by the SDK.
26
- * @hidden @internal
27
- */
28
19
  export type Event = (typeof Event)[keyof typeof Event];
@@ -1,11 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Event = void 0;
4
- /**
5
- * Supported event names emitted by the SDK.
6
- *
7
- * @category Events
8
- */
9
4
  exports.Event = {
10
5
  Boot: 'boot',
11
6
  Terminate: 'terminate',
@@ -1,23 +1,6 @@
1
- /**
2
- * Geofence transition actions emitted by the SDK
3
- *
4
- * Used with {@link GeofenceEvent} from {@link BackgroundGeolocation.onGeofence}.
5
- *
6
- * | Action | Meaning |
7
- * |--------|------------------------------|
8
- * | ENTER | Device entered the geofence |
9
- * | EXIT | Device exited the geofence |
10
- * | DWELL | Device dwelled inside |
11
- *
12
- * @category Events
13
- */
14
1
  export declare const GeofenceAction: {
15
2
  readonly Enter: "ENTER";
16
3
  readonly Exit: "EXIT";
17
4
  readonly Dwell: "DWELL";
18
5
  };
19
- /**
20
- * Union of geofence transition strings.
21
- * @internal @hidden
22
- */
23
6
  export type GeofenceAction = (typeof GeofenceAction)[keyof typeof GeofenceAction];
@@ -1,19 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GeofenceAction = void 0;
4
- /**
5
- * Geofence transition actions emitted by the SDK
6
- *
7
- * Used with {@link GeofenceEvent} from {@link BackgroundGeolocation.onGeofence}.
8
- *
9
- * | Action | Meaning |
10
- * |--------|------------------------------|
11
- * | ENTER | Device entered the geofence |
12
- * | EXIT | Device exited the geofence |
13
- * | DWELL | Device dwelled inside |
14
- *
15
- * @category Events
16
- */
17
4
  exports.GeofenceAction = {
18
5
  Enter: 'ENTER',
19
6
  Exit: 'EXIT',
@@ -1,13 +1,6 @@
1
- /**
2
- * Allowed HTTP methods for uploading data.
3
- * Mirrors Flutter's HttpConfig.method and native support.
4
- *
5
- * @category Config
6
- */
7
1
  export declare const HttpMethod: {
8
2
  readonly Post: "POST";
9
3
  readonly Put: "PUT";
10
4
  readonly Patch: "PATCH";
11
5
  };
12
- /** @internal @hidden */
13
6
  export type HttpMethod = (typeof HttpMethod)[keyof typeof HttpMethod];
@@ -1,12 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.HttpMethod = void 0;
4
- /**
5
- * Allowed HTTP methods for uploading data.
6
- * Mirrors Flutter's HttpConfig.method and native support.
7
- *
8
- * @category Config
9
- */
10
4
  exports.HttpMethod = {
11
5
  Post: 'POST',
12
6
  Put: 'PUT',
@@ -1,32 +1,6 @@
1
- /**
2
- * Specifies the preset tuning profile for the Kalman filter used in location
3
- * denoising.
4
- *
5
- * Each profile adjusts the Kalman filter’s process and measurement noise
6
- * parameters, trading off between responsiveness and smoothness:
7
- *
8
- * | Profile | Behavior |
9
- * |----------------------|---------------------------------------------------------------------|
10
- * | `defaultProfile` | **Balanced** — General-purpose; suitable for most movement types. |
11
- * | `aggressive` | **Aggressive** — Fast response; minimal smoothing. |
12
- * | `conservative` | **Conservative** — Maximum smoothing; slowest response to changes. |
13
- *
14
- * - If no profile is provided, `defaultProfile` is applied.
15
- * - Use `aggressive` for fast-changing activities requiring rapid updates.
16
- * - Use `conservative` when stability and track smoothness are more important
17
- * than immediate responsiveness.
18
- *
19
- * This maps directly to native Kalman tuning implementations on both Android and iOS.
20
- *
21
- * @category Config
22
- */
23
1
  export declare const KalmanProfile: {
24
- /** Balanced for general-purpose movement (default). */
25
2
  readonly Default: 0;
26
- /** Aggressive — responds faster to motion with less smoothing. */
27
3
  readonly Aggressive: 1;
28
- /** Conservative — maximum smoothing, slower reaction to change. */
29
4
  readonly Conservative: 2;
30
5
  };
31
- /** @internal @hidden */
32
6
  export type KalmanProfile = (typeof KalmanProfile)[keyof typeof KalmanProfile];
@@ -1,33 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.KalmanProfile = void 0;
4
- /**
5
- * Specifies the preset tuning profile for the Kalman filter used in location
6
- * denoising.
7
- *
8
- * Each profile adjusts the Kalman filter’s process and measurement noise
9
- * parameters, trading off between responsiveness and smoothness:
10
- *
11
- * | Profile | Behavior |
12
- * |----------------------|---------------------------------------------------------------------|
13
- * | `defaultProfile` | **Balanced** — General-purpose; suitable for most movement types. |
14
- * | `aggressive` | **Aggressive** — Fast response; minimal smoothing. |
15
- * | `conservative` | **Conservative** — Maximum smoothing; slowest response to changes. |
16
- *
17
- * - If no profile is provided, `defaultProfile` is applied.
18
- * - Use `aggressive` for fast-changing activities requiring rapid updates.
19
- * - Use `conservative` when stability and track smoothness are more important
20
- * than immediate responsiveness.
21
- *
22
- * This maps directly to native Kalman tuning implementations on both Android and iOS.
23
- *
24
- * @category Config
25
- */
26
4
  exports.KalmanProfile = {
27
- /** Balanced for general-purpose movement (default). */
28
5
  Default: 0,
29
- /** Aggressive — responds faster to motion with less smoothing. */
30
6
  Aggressive: 1,
31
- /** Conservative — maximum smoothing, slower reaction to change. */
32
7
  Conservative: 2
33
8
  };
@@ -1,18 +1,3 @@
1
- /**
2
- * Error codes returned when the native location API fails to fetch a location.
3
- *
4
- *
5
- * | Code | Error |
6
- * |------|--------|
7
- * | `0` | Location unknown |
8
- * | `1` | Location permission denied |
9
- * | `2` | Network error |
10
- * | `3` | Attempt to initiate location-services in background with WhenInUse authorization |
11
- * | `408` | Location timeout |
12
- * | `499` | Location request cancelled |
13
- *
14
- * @category Events
15
- */
16
1
  export declare const LocationError: {
17
2
  readonly LocationUnknown: 0;
18
3
  readonly PermissionDenied: 1;
@@ -21,8 +6,4 @@ export declare const LocationError: {
21
6
  readonly Timeout: 408;
22
7
  readonly Cancelled: 499;
23
8
  };
24
- /**
25
- * Union type of possible location error codes.
26
- * @internal @hidden
27
- */
28
9
  export type LocationError = (typeof LocationError)[keyof typeof LocationError];
@@ -1,21 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LocationError = void 0;
4
- /**
5
- * Error codes returned when the native location API fails to fetch a location.
6
- *
7
- *
8
- * | Code | Error |
9
- * |------|--------|
10
- * | `0` | Location unknown |
11
- * | `1` | Location permission denied |
12
- * | `2` | Network error |
13
- * | `3` | Attempt to initiate location-services in background with WhenInUse authorization |
14
- * | `408` | Location timeout |
15
- * | `499` | Location request cancelled |
16
- *
17
- * @category Events
18
- */
19
4
  exports.LocationError = {
20
5
  LocationUnknown: 0,
21
6
  PermissionDenied: 1,
@@ -1,110 +1,6 @@
1
- /**
2
- * Defines the filtering policy applied to incoming raw GPS samples before they
3
- * are accepted, averaged, or rejected by the {@link LocationFilter}.
4
- *
5
- * The filtering policy determines how aggressively the plugin removes noisy,
6
- * inaccurate, or redundant location updates. It represents the *first stage*
7
- * in the SDK’s data-quality pipeline — before Kalman smoothing, burst averaging,
8
- * or other denoising steps are applied.
9
- *
10
- * Choosing the correct policy depends on your app’s tolerance for jitter versus
11
- * responsiveness:
12
- *
13
- * - Fitness or vehicle-tracking apps often prefer stronger filtering.
14
- * - Survey or scientific apps may prefer capturing unmodified raw samples.
15
- *
16
- * **Profiles**
17
- *
18
- * | Policy | Description | Use Case |
19
- * |--------|-------------|----------|
20
- * | {@link LocationFilterPolicy.PassThrough} | **No filtering.** Every received sample is recorded, even if noisy or identical to the previous one. | Debugging, diagnostics, scenarios requiring raw data. |
21
- * | {@link LocationFilterPolicy.Adjust} | **Balanced filtering.** Smooths and rejects only clearly invalid samples. *(Default)* | Most use cases — walking, cycling, automotive tracking. |
22
- * | {@link LocationFilterPolicy.Conservative} | **Strict filtering.** Strongly smooths data and rejects high-variance samples, prioritizing stability over responsiveness. | Analytics, long-term background logging, noise-sensitive applications. |
23
- *
24
- * **Notes**
25
- *
26
- * - This policy affects only the SDK’s *internal* filtering pipeline.
27
- * It does **not** modify the raw values returned to {@link BackgroundGeolocation.onLocation}.
28
- * - For more granular tuning, see {@link LocationFilter.trackingAccuracyThreshold},
29
- * {@link LocationFilter.maxImpliedSpeed}, and other {@link LocationFilter} fields.
30
- *
31
- * **Examples**
32
- *
33
- * Balanced default filtering:
34
- *
35
- * ```ts
36
- * BackgroundGeolocation.ready({
37
- * geolocation: {
38
- * filter: {
39
- * policy: LocationFilterPolicy.Adjust
40
- * }
41
- * }
42
- * });
43
- * ```
44
- *
45
- * No filtering — capture all raw locations:
46
- *
47
- * ```ts
48
- * BackgroundGeolocation.ready({
49
- * geolocation: {
50
- * filter: {
51
- * policy: LocationFilterPolicy.PassThrough
52
- * }
53
- * }
54
- * });
55
- * ```
56
- *
57
- * Maximum smoothing for analytics:
58
- *
59
- * ```ts
60
- * BackgroundGeolocation.ready({
61
- * geolocation: {
62
- * filter: {
63
- * policy: LocationFilterPolicy.Conservative
64
- * }
65
- * }
66
- * });
67
- * ```
68
- *
69
- * **See also**
70
- * - {@link GeoConfig.filter}
71
- * - {@link LocationFilter}
72
- * - {@link KalmanProfile}
73
- *
74
- * @category Config
75
- */
76
1
  export declare const LocationFilterPolicy: {
77
- /** No filtering — accept all samples. Useful for debugging. */
78
2
  readonly PassThrough: 0;
79
- /**
80
- * Balanced (default) — applies moderate filtering to reject noisy samples.
81
- *
82
- * Dynamically adjusts acceptance thresholds for incoming samples, but **never**
83
- * alters the raw latitude/longitude coordinates.
84
- *
85
- * When using {@link LocationFilterPolicy.Adjust} (the default), the SDK computes
86
- * motion metrics such as:
87
- *
88
- * - distance deltas
89
- * - implied speed
90
- * - accuracy variance
91
- * - heading stability
92
- *
93
- * It then applies adaptive gating rules to decide whether each sample should be:
94
- *
95
- * - accepted
96
- * - ignored
97
- * - rejected as noise
98
- *
99
- * **Coordinates are never modified.** This policy adjusts *which* samples are
100
- * included, not *how* they are positioned.
101
- *
102
- * If {@link LocationFilter.useKalman} is enabled, additional smoothing may occur,
103
- * but the physical coordinates of each accepted sample remain untouched.
104
- */
105
3
  readonly Adjust: 1;
106
- /** Aggressive — filters heavily, preferring stability over responsiveness. */
107
4
  readonly Conservative: 2;
108
5
  };
109
- /** @internal @hidden */
110
6
  export type LocationFilterPolicy = (typeof LocationFilterPolicy)[keyof typeof LocationFilterPolicy];
@@ -1,111 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LocationFilterPolicy = void 0;
4
- /**
5
- * Defines the filtering policy applied to incoming raw GPS samples before they
6
- * are accepted, averaged, or rejected by the {@link LocationFilter}.
7
- *
8
- * The filtering policy determines how aggressively the plugin removes noisy,
9
- * inaccurate, or redundant location updates. It represents the *first stage*
10
- * in the SDK’s data-quality pipeline — before Kalman smoothing, burst averaging,
11
- * or other denoising steps are applied.
12
- *
13
- * Choosing the correct policy depends on your app’s tolerance for jitter versus
14
- * responsiveness:
15
- *
16
- * - Fitness or vehicle-tracking apps often prefer stronger filtering.
17
- * - Survey or scientific apps may prefer capturing unmodified raw samples.
18
- *
19
- * **Profiles**
20
- *
21
- * | Policy | Description | Use Case |
22
- * |--------|-------------|----------|
23
- * | {@link LocationFilterPolicy.PassThrough} | **No filtering.** Every received sample is recorded, even if noisy or identical to the previous one. | Debugging, diagnostics, scenarios requiring raw data. |
24
- * | {@link LocationFilterPolicy.Adjust} | **Balanced filtering.** Smooths and rejects only clearly invalid samples. *(Default)* | Most use cases — walking, cycling, automotive tracking. |
25
- * | {@link LocationFilterPolicy.Conservative} | **Strict filtering.** Strongly smooths data and rejects high-variance samples, prioritizing stability over responsiveness. | Analytics, long-term background logging, noise-sensitive applications. |
26
- *
27
- * **Notes**
28
- *
29
- * - This policy affects only the SDK’s *internal* filtering pipeline.
30
- * It does **not** modify the raw values returned to {@link BackgroundGeolocation.onLocation}.
31
- * - For more granular tuning, see {@link LocationFilter.trackingAccuracyThreshold},
32
- * {@link LocationFilter.maxImpliedSpeed}, and other {@link LocationFilter} fields.
33
- *
34
- * **Examples**
35
- *
36
- * Balanced default filtering:
37
- *
38
- * ```ts
39
- * BackgroundGeolocation.ready({
40
- * geolocation: {
41
- * filter: {
42
- * policy: LocationFilterPolicy.Adjust
43
- * }
44
- * }
45
- * });
46
- * ```
47
- *
48
- * No filtering — capture all raw locations:
49
- *
50
- * ```ts
51
- * BackgroundGeolocation.ready({
52
- * geolocation: {
53
- * filter: {
54
- * policy: LocationFilterPolicy.PassThrough
55
- * }
56
- * }
57
- * });
58
- * ```
59
- *
60
- * Maximum smoothing for analytics:
61
- *
62
- * ```ts
63
- * BackgroundGeolocation.ready({
64
- * geolocation: {
65
- * filter: {
66
- * policy: LocationFilterPolicy.Conservative
67
- * }
68
- * }
69
- * });
70
- * ```
71
- *
72
- * **See also**
73
- * - {@link GeoConfig.filter}
74
- * - {@link LocationFilter}
75
- * - {@link KalmanProfile}
76
- *
77
- * @category Config
78
- */
79
4
  exports.LocationFilterPolicy = {
80
- /** No filtering — accept all samples. Useful for debugging. */
81
5
  PassThrough: 0,
82
- /**
83
- * Balanced (default) — applies moderate filtering to reject noisy samples.
84
- *
85
- * Dynamically adjusts acceptance thresholds for incoming samples, but **never**
86
- * alters the raw latitude/longitude coordinates.
87
- *
88
- * When using {@link LocationFilterPolicy.Adjust} (the default), the SDK computes
89
- * motion metrics such as:
90
- *
91
- * - distance deltas
92
- * - implied speed
93
- * - accuracy variance
94
- * - heading stability
95
- *
96
- * It then applies adaptive gating rules to decide whether each sample should be:
97
- *
98
- * - accepted
99
- * - ignored
100
- * - rejected as noise
101
- *
102
- * **Coordinates are never modified.** This policy adjusts *which* samples are
103
- * included, not *how* they are positioned.
104
- *
105
- * If {@link LocationFilter.useKalman} is enabled, additional smoothing may occur,
106
- * but the physical coordinates of each accepted sample remain untouched.
107
- */
108
6
  Adjust: 1,
109
- /** Aggressive — filters heavily, preferring stability over responsiveness. */
110
7
  Conservative: 2
111
8
  };
@@ -1,25 +1,6 @@
1
- /**
2
- * Indicates what level of location authorization the SDK should request.
3
- *
4
- * | Name | Value | Description |
5
- * |------------|--------------|----------------------------------------------------------|
6
- * | Always | `"Always"` | Request full background + foreground authorization. |
7
- * | WhenInUse | `"WhenInUse"`| Request foreground-only authorization. |
8
- * | Any | `"Any"` | Accept *either* Always or WhenInUse (no specific request). |
9
- *
10
- * Mirrors native iOS authorization request options and existing RN adapter keys.
11
- *
12
- * See {@link GeoConfig.locationAuthorizationRequest}
13
- *
14
- * @category Config
15
- */
16
1
  export declare const LocationRequest: {
17
2
  readonly Always: "Always";
18
3
  readonly WhenInUse: "WhenInUse";
19
4
  readonly Any: "Any";
20
5
  };
21
- /**
22
- * Type union of all LocationRequest values.
23
- * @internal @hidden
24
- */
25
6
  export type LocationRequest = (typeof LocationRequest)[keyof typeof LocationRequest];
@@ -1,21 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LocationRequest = void 0;
4
- /**
5
- * Indicates what level of location authorization the SDK should request.
6
- *
7
- * | Name | Value | Description |
8
- * |------------|--------------|----------------------------------------------------------|
9
- * | Always | `"Always"` | Request full background + foreground authorization. |
10
- * | WhenInUse | `"WhenInUse"`| Request foreground-only authorization. |
11
- * | Any | `"Any"` | Accept *either* Always or WhenInUse (no specific request). |
12
- *
13
- * Mirrors native iOS authorization request options and existing RN adapter keys.
14
- *
15
- * See {@link GeoConfig.locationAuthorizationRequest}
16
- *
17
- * @category Config
18
- */
19
4
  exports.LocationRequest = {
20
5
  Always: 'Always',
21
6
  WhenInUse: 'WhenInUse',
@@ -1,19 +1,3 @@
1
- /**
2
- * Controls the verbosity of plugin logging.
3
- *
4
- * | Level | Value | Description |
5
- * |---------|:-----:|---------------------------------|
6
- * | Off | 0 | Disable all logging. |
7
- * | Error | 1 | Log only critical failures. |
8
- * | Warning | 2 | Log warnings + errors. |
9
- * | Info | 3 | Operational information. |
10
- * | Debug | 4 | Developer-level debug output. |
11
- * | Verbose | 5 | Maximum detail. |
12
- *
13
- * Mirrors native logging constants on iOS & Android.
14
- *
15
- * @category Config
16
- */
17
1
  export declare const LogLevel: {
18
2
  readonly Off: 0;
19
3
  readonly Error: 1;
@@ -22,8 +6,4 @@ export declare const LogLevel: {
22
6
  readonly Debug: 4;
23
7
  readonly Verbose: 5;
24
8
  };
25
- /**
26
- * Type union of all LogLevel values.
27
- * @internal @hidden
28
- */
29
9
  export type LogLevel = (typeof LogLevel)[keyof typeof LogLevel];
@@ -1,22 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LogLevel = void 0;
4
- /**
5
- * Controls the verbosity of plugin logging.
6
- *
7
- * | Level | Value | Description |
8
- * |---------|:-----:|---------------------------------|
9
- * | Off | 0 | Disable all logging. |
10
- * | Error | 1 | Log only critical failures. |
11
- * | Warning | 2 | Log warnings + errors. |
12
- * | Info | 3 | Operational information. |
13
- * | Debug | 4 | Developer-level debug output. |
14
- * | Verbose | 5 | Maximum detail. |
15
- *
16
- * Mirrors native logging constants on iOS & Android.
17
- *
18
- * @category Config
19
- */
20
4
  exports.LogLevel = {
21
5
  Off: 0,
22
6
  Error: 1,
@@ -1,8 +1,3 @@
1
- /**
2
- * Log severity level used by {@link Logger.debug} {@link Logger.info}, etc.
3
- * @hidden
4
- * @internal
5
- */
6
1
  export declare const LogLevelName: {
7
2
  readonly Debug: "debug";
8
3
  readonly Notice: "notice";
@@ -10,5 +5,4 @@ export declare const LogLevelName: {
10
5
  readonly Warn: "warn";
11
6
  readonly Error: "error";
12
7
  };
13
- /** @internal @hidden */
14
8
  export type LogLevelName = typeof LogLevelName[keyof typeof LogLevelName];
@@ -1,11 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LogLevelName = void 0;
4
- /**
5
- * Log severity level used by {@link Logger.debug} {@link Logger.info}, etc.
6
- * @hidden
7
- * @internal
8
- */
9
4
  exports.LogLevelName = {
10
5
  Debug: "debug",
11
6
  Notice: "notice",
@@ -1,8 +1,3 @@
1
- /**
2
- * Reported device motion activity names (legacy RN + native).
3
- *
4
- * @category Events
5
- */
6
1
  export declare const MotionActivityType: {
7
2
  readonly Still: "still";
8
3
  readonly Walking: "walking";
@@ -12,5 +7,4 @@ export declare const MotionActivityType: {
12
7
  readonly InVehicle: "in_vehicle";
13
8
  readonly Unknown: "unknown";
14
9
  };
15
- /** @internal @hidden */
16
10
  export type MotionActivityType = typeof MotionActivityType[keyof typeof MotionActivityType];