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

Link copied to clipboard
fun RouteOptionsUpdater()

Types

Link copied to clipboard
sealed class RouteOptionsResult

Describes a result of generating new options from the original request and the current route progress.

Functions

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.