LocationFilterReason¶
Reason a location was rejected by the tracking location-filter, delivered to BackgroundGeolocation.onLocationFilter via LocationFilterEvent.reason.
| Value | Reason |
|---|---|
"low-accuracy" |
Horizontal accuracy was worse than LocationFilter.trackingAccuracyThreshold. |
"implied-speed" |
Implied speed between samples exceeded the plausible maximum (likely a GPS spike). |
"outlier-capped" |
Sample was a statistical outlier well beyond the expected travel distance. |
"geofence-spurious-exit" |
A geofence EXIT trigger was rejected — GPS jitter while stationary, an implausibly distant trigger, or no recorded-path evidence that the fence was ever transited. See LocationFilterEvent.geofence. |
"geofence-duplicate-enter" |
A geofence ENTER trigger was rejected because the SDK already holds the fence in the entered state. See LocationFilterEvent.geofence. |
Members¶
GeofenceDuplicateEnter¶
A geofence ENTER trigger was rejected because the SDK already holds the fence in the
entered state. LocationFilterEvent.geofence identifies the fence.
GeofenceSpuriousExit¶
A geofence EXIT trigger was rejected — GPS jitter while stationary, an implausibly
distant trigger, or no recorded-path evidence that the fence was ever transited.
LocationFilterEvent.geofence identifies the fence and carries the verdict detail.
ImpliedSpeed¶
Implied speed between samples exceeded the plausible maximum (likely a GPS spike).
LowAccuracy¶
Horizontal accuracy was worse than LocationFilter.trackingAccuracyThreshold.
OutlierCapped¶
Sample was a statistical outlier well beyond the expected travel distance.