sdk-routing / com.tomtom.online.sdk.data / CommonRequestQuery

CommonRequestQuery

abstract class CommonRequestQuery : BaseRequestQuery

A base class that specifies the most common parameters used in a routing query (e.g., route type, departure time, or travel mode).

Constructors

<init>

CommonRequestQuery()

A base class that specifies the most common parameters used in a routing query (e.g., route type, departure time, or travel mode).

Properties

accelerationEfficiency

var accelerationEfficiency: Double!

adrTunnelRestrictionCode

var adrTunnelRestrictionCode: AdrTunnelRestrictionCode!

auxiliaryPowerInKW

var auxiliaryPowerInKW: Double!

auxiliaryPowerInLitersPerHour

var auxiliaryPowerInLitersPerHour: Double!

avoidType

var avoidType: Avoid!

considerTraffic

var considerTraffic: Boolean!

constantSpeedConsumptionInKWhPerHundredKm

var constantSpeedConsumptionInKWhPerHundredKm: SpeedToConsumptionMap!

constantSpeedConsumptionInLitersPerHundredKm

var constantSpeedConsumptionInLitersPerHundredKm: SpeedToConsumptionMap!

currentChargeInKWh

var currentChargeInKWh: Double!

currentFuelInLiters

var currentFuelInLiters: Double!

decelerationEfficiency

var decelerationEfficiency: Double!

departAt

var departAt: Date!

downhillEfficiency

var downhillEfficiency: Double!

fuelEnergyDensityInMJoulesPerLiter

var fuelEnergyDensityInMJoulesPerLiter: Double!

hilliness

var hilliness: Hilliness!

maxChargeInKWh

var maxChargeInKWh: Double!

routeType

var routeType: RouteType!

travelMode

var travelMode: TravelMode!

uphillEfficiency

var uphillEfficiency: Double!

vehicleAxleWeightInKg

var vehicleAxleWeightInKg: Int!

vehicleCommercial

var vehicleCommercial: Boolean!

vehicleEngineType

var vehicleEngineType: VehicleEngineType!

vehicleHeightInMeters

var vehicleHeightInMeters: Double!

vehicleLengthInMeters

var vehicleLengthInMeters: Double!

vehicleLoadType

var vehicleLoadType: VehicleLoadType!

vehicleMaxSpeedInKph

var vehicleMaxSpeedInKph: Int!

vehicleWeightInKg

var vehicleWeightInKg: Int!

vehicleWidthInMeters

var vehicleWidthInMeters: Double!

windingness

var windingness: Windingness!

Functions

prepareCommonsParams

open fun prepareCommonsParams(): CommonParamsBuilder

Inheritors

MatrixRoutingQuery

open class MatrixRoutingQuery : CommonRequestQuery

A data object used to prepare a query to the Matrix Routing service.

ReachableRangeQuery

open class ReachableRangeQuery : CommonRequestQuery

The default implementation of the ReachableRangeQuery object which is used to prepare the query for the Routing API.

RouteQuery

open class RouteQuery : CommonRequestQuery

The default implementation of the RouteQuery object which is used to prepare the query for the Routing API.