update

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.

Return

RouteOptionsResult.Error if a new RouteOptions instance cannot be combined based on the input given. RouteOptionsResult.Success with a new RouteOptions instance if successfully combined.