libandroid-navigation-ui/src/main/java/com/mapbox/services/android/navigation/ui/v5/route/RouteViewModel.java
private void extractRouteFromOptions(NavigationViewOptions options) {
    DirectionsRoute route = options.directionsRoute();
    if (route != null) {
      cacheRouteInformation(options, route);
      this.route.setValue(route);
    }
  }
/**
   * Extracts the {@link DirectionsRoute}, adds a destination marker,
   * and starts navigation.
   *
   * @param options containing route
   */
Extracts the  DirectionsRoute, adds a destination marker,
and starts navigation.

@param options containing route
Extracts the DirectionsRoute adds a destination marker and starts navigation . @param options containing route
private void extractRouteFromOptions(NavigationViewOptions options) {
    DirectionsRoute route = options.directionsRoute();
    if (route != null) {
      cacheRouteInformation(options, route);
      this.route.setValue(route);
    }
  }
private void extractRouteFromOptions ( NavigationViewOptions options ) { DirectionsRoute route = options . directionsRoute ( ) ; if ( route != null ) { cacheRouteInformation ( options , route ) ; this . route . setValue ( route ) ; } }
Extracts the {@link DirectionsRoute}, adds a destination marker,
 and starts navigation.
Extracts the { @link DirectionsRoute } adds a destination marker and starts navigation .