Skip to content

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.