Package com.tomtom.sdk.routing.api.vehicle

Types

Link copied to clipboard
data class CombustionVehicleConsumption @JvmOverloads constructor(    val currentFuelInLiters: Double? = null,     val auxiliaryPowerInLitersPerHour: Double? = null,     val fuelEnergyDensityInMJoulesPerLiter: Double? = null,     val speedConsumptionInLitersPerHundredKm: Map<Double, Double>)

Describes parameters used to determine the vehicle power and consumption.

Link copied to clipboard
data class CombustionVehicleDescriptor

Describes the vehicle with a combustion engine.

Link copied to clipboard
data class ElectricVehicleConsumption @JvmOverloads constructor(    val currentChargeInkWh: Double? = null,     val maxChargeInkWh: Double? = null,     val auxiliaryPowerInkW: Double? = null,     val speedConsumptionInKWhPerHundredKm: Map<Double, Double>)

Important: This is a Public Preview API. It may be changed or removed at any time. Describes capacity and the consumption of the EV.

Link copied to clipboard
data class ElectricVehicleDescriptor

Represents the electric vehicle descriptor used during a route plan.

Link copied to clipboard

Specifies if the vehicle should be subjected to ADR tunnel restrictions.

Link copied to clipboard
data class VehicleDimensions

Specifies the dimensions of the vehicle.

Link copied to clipboard
data class VehicleEfficiency

Specifies the efficiency of the vehicle.

Link copied to clipboard
enum VehicleEngineType : Enum<VehicleEngineType>

Represents the types of the vehicle engine (e.g., electric).

Link copied to clipboard
enum VehicleLoadType : Enum<VehicleLoadType>

Represents types of cargo that may be classified as hazardous materials and restricted from some roads. Available vehicleLoadType values are US Hazmat classes 1 through 9, plus generic classifications for use in other countries. For more details, see: https://developer.tomtom.com/routing-api/routing-api-documentation-routing/common-routing-parameters.

Link copied to clipboard
data class VehicleRestrictions

Specifies the restriction that this vehicle should be subjected to.