Skip to content

LocationFilterReason

export const 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.

Members

ImpliedSpeed

ImpliedSpeed: 'implied-speed',

Implied speed between samples exceeded the plausible maximum (likely a GPS spike).

LowAccuracy

LowAccuracy: 'low-accuracy',

Horizontal accuracy was worse than LocationFilter.trackingAccuracyThreshold.

OutlierCapped

OutlierCapped: 'outlier-capped'

Sample was a statistical outlier well beyond the expected travel distance.