LocationUpdateFilter

open class LocationUpdateFilter(minTimeMs: Long, minDistance: Double)

This class acts as a filter for throttling the frequency of computation which is initiated by geolocation updates.

Constructors

Link copied to clipboard
constructor(minTimeMs: Long, minDistance: Double)

Functions

Link copied to clipboard
Link copied to clipboard
fun shouldUpdateActivity(location: LngLatAlt, speed: Float, inVehicle: Boolean): Boolean
Link copied to clipboard
fun update(location: LngLatAlt)