RouteTrackingEngineFactory
object RouteTrackingEngineFactory
Responsible for creating default implementation of RouteTrackingEngine.
Important: This is a Public Preview API. It may be changed or removed at any time.
Properties
Link copied to clipboard
The default threshold for consecutive location updates that are off the route. Once this number of consecutive off-route updates is reached, it is considered that the route has been unfollowed.
Link copied to clipboard
The default threshold for the distance between the last position on the route and the current position on the route. Currently not in use. It will be deleted in the future.
Functions
Link copied to clipboard
fun create(offRouteLocationsCounterThreshold: Int = DEFAULT_OFF_ROUTE_LOCATIONS_COUNTER_THRESHOLD, offRouteProgressDifferenceThreshold: Distance = DEFAULT_OFF_ROUTE_PROGRESS_DIFFERENT_THRESHOLD): RouteTrackingEngine
Creates RouteTrackingEngine with default configuration.