navigateTo

suspend fun NavManagerService.navigateTo(destination: SearchResult, waypoints: List<SearchResult>): Result<Unit>

Sets the destination, optional waypoints and starts navigation.

Same as 2 calls: setDestination, startNavigation.

Throws

when the route to the destination could not be built for some routing reason (e.g. because it is physically impossible to reach the destination per car)