incrementRouteContents

abstract fun incrementRouteContents(options: RouteIncrementOptions): Result<Route, RoutingError>

Calculates route contents (instructions, lane guidance) within its certain part using the provided RouteIncrementOptions object.

Note: Route ETA should be updated outside the incrementRouteContents call.

Important: This is a Public Preview API. It may be changed or removed at any time.

Return

If the call succeeds, returns a Route. If it fails, returns a RoutingError.

Parameters

options

Route options needed to calculate route contents.