interface ReachableRangeParams : JniNativeHandleOwner
An interface used to specify key parameters for reachable range such as an energy and fuel budget. Extends the native class to access the native object's unique id and native handle. Implemented in the default reachable range params builder ReachableRangeParamsBuilder
.
abstract fun withDistanceBudgetInMeters(distanceBudgetInMeters: Double!): ReachableRangeParams!
The distance budget in meters that determines the maximal range which can be traveled. The Consumption Model will only affect the range when the routeType is eco. |
|
abstract fun withEnergyBudgetInKWh(energyBudgetInKWh: Double!): ReachableRangeParams!
Electric energy budget in kilowatt hours (kWh) that determines the maximum range that can be traveled using the specified Electric Consumption Model. Required only for vehicles with an electric engine if it |
|
abstract fun withFuelBudgetInLiters(fuelBudgetInLiters: Double!): ReachableRangeParams!
Fuel budget in liters that determines the maximum range that can be traveled using the specified Combustion Consumption Model. Required only for vehicles with a combustion engine if |
|
abstract fun withTimeBudgetInSeconds(timeBudgetInSeconds: Double!): ReachableRangeParams!
Time budget in seconds that determines the maximum range that can be traveled within a given time. The consumption parameters will only affect eco-routes and thereby indirectly affect the driving time. Required only if neither |
open class ReachableRangeParamsBuilder : ReachableRangeParams
A class used for building parameters of a reachable range query using a native handle from the |