libandroid-navigation/src/main/java/com/mapbox/services/android/navigation/v5/navigation/NavigationService.java
@Override
  public void onResponseReceived(Response<DirectionsResponse> response, RouteProgress routeProgress) {
    if (mapboxNavigation.getFasterRouteEngine().isFasterRoute(response.body(), routeProgress)) {
      mapboxNavigation.getEventDispatcher().onFasterRouteEvent(response.body().routes().get(0));
    }
  }
/**
   * Callback from the {@link RouteEngine} - if fired, a new and valid
   * {@link DirectionsRoute} has been successfully retrieved.
   *
   * @param response      with the new route
   * @param routeProgress holding necessary leg / step information
   */
Callback from the  RouteEngine - if fired, a new and valid
DirectionsRoute has been successfully retrieved.

@param response      with the new route
@param routeProgress holding necessary leg / step information
Callback from the RouteEngine - if fired a new and valid DirectionsRoute has been successfully retrieved . @param response with the new route @param routeProgress holding necessary leg / step information
@Override
  public void onResponseReceived(Response<DirectionsResponse> response, RouteProgress routeProgress) {
    if (mapboxNavigation.getFasterRouteEngine().isFasterRoute(response.body(), routeProgress)) {
      mapboxNavigation.getEventDispatcher().onFasterRouteEvent(response.body().routes().get(0));
    }
  }
@ Override public void onResponseReceived ( Response < DirectionsResponse > response , RouteProgress routeProgress ) { if ( mapboxNavigation . getFasterRouteEngine ( ) . isFasterRoute ( response . body ( ) , routeProgress ) ) { mapboxNavigation . getEventDispatcher ( ) . onFasterRouteEvent ( response . body ( ) . routes ( ) . get ( 0 ) ) ; } }
Callback from the {@link RouteEngine} - if fired, a new and valid
 {@link DirectionsRoute} has been successfully retrieved.
Callback from the { @link RouteEngine } - if fired a new and valid { @link DirectionsRoute } has been successfully retrieved .