setRoutes

fun setRoutes(routes: List<NavigationRoute>)

Sets the routes passed to MapboxNavigation. The action triggers RouteProgress, BannerInstructions and VoiceInstructions updates if the TripSessionState is TripSessionState.STARTED.

Parameters

routes