incrementRouteContents

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

Calculates route contents (instructions, lane guidance) for the first sequence of instructions following the last successful increment.

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

routeIncrementOptions

Route options needed to calculate route contents.