libandroid-navigation/src/main/java/com/mapbox/services/android/navigation/v5/routeprogress/RouteStepProgress.java
public double distanceTraveled() {
    double distanceTraveled = step().distance() - distanceRemaining();
    if (distanceTraveled < 0) {
      distanceTraveled = 0;
    }
    return distanceTraveled;
  }
/**
   * Returns distance user has traveled along current step in unit meters.
   *
   * @return double value representing the distance the user has traveled so far along the current
   * step. Uses unit meters.
   * @since 0.1.0
   */
Returns distance user has traveled along current step in unit meters.
@return double value representing the distance the user has traveled so far along the current
step. Uses unit meters.
Returns distance user has traveled along current step in unit meters . @return double value representing the distance the user has traveled so far along the current step . Uses unit meters .
public double distanceTraveled() {
    double distanceTraveled = step().distance() - distanceRemaining();
    if (distanceTraveled < 0) {
      distanceTraveled = 0;
    }
    return distanceTraveled;
  }
public double distanceTraveled ( ) { double distanceTraveled = step ( ) . distance ( ) - distanceRemaining ( ) ; if ( distanceTraveled < 0 ) { distanceTraveled = 0 ; } return distanceTraveled ; }
Returns distance user has traveled along current step in unit meters.
Returns distance user has traveled along current step in unit meters .