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
Types
Link copied to clipboard
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
Content copied to clipboard
Provides a new RouteOptions instance based on the original request options, the current route progress and location matcher result.