Set a list of routes.
If the list is not empty, the route at index 0 is valid, and the trip session is started, then the SDK enters an
Active Guidance state and RouteProgress updates will be available.
If the list is empty, the SDK will exit the
Active Guidance state.
This call is asynchronous, only once processing finishes the effects are available through MapboxNavigation.getNavigationRoutes and RoutesObserver. If this call fails, no changes are made to the routes managed by the MapboxNavigation, they are not cleared. Observe the processing with MapboxNavigation.setNavigationRoutes's callback.
Deprecated: use #setNavigationRoutes(List
a list of DirectionsRoutes
starting leg to follow. By default the first leg is used.