RouteOptionsUpdater

class RouteOptionsUpdater

Updater is used for Reroute and Route Alternatives flow.

It's used when turn-by-turn navigation goes off-route (see OffRouteObserver) and when route alternatives (see RouteAlternativesController) are requested. For example, this is needed in order to filter the waypoints that have been completed.

Constructors

RouteOptionsUpdater
Link copied to clipboard
fun RouteOptionsUpdater()

Types

RouteOptionsResult
Link copied to clipboard
sealed class RouteOptionsResult
Describes a result of generating new options from the original request and the current route progress.

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String
update
Link copied to clipboard
fun update(routeOptions: RouteOptions?, routeProgress: RouteProgress?, locationMatcherResult: LocationMatcherResult?): RouteOptionsUpdater.RouteOptionsResult
Provides a new RouteOptions instance based on the original request options, the current route progress and location matcher result.