select

abstract fun select(refreshedRoutePlan: RoutePlan, alternatives: List<Route>): ReplannedRoute

Selects refreshed route or picks one of the proposed alternatives.

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

Return

Selected route with reason.

Parameters

refreshedRoutePlan

The RoutePlan with refreshed route.

alternatives

The list of alternative routes.