onWaypointOutOfRange

abstract fun onWaypointOutOfRange(capacity: Double, waypointIndex: Int)

Parameters

capacity

needed capacity to reach finish in kWh

waypointIndex

index of charging waypoint from Route::getWaypoints list which is out of range, if -1 then it is route finish