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!

avoidList

var avoidList: MutableList<Avoid!>!

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

getAccelerationEfficiency

open fun getAccelerationEfficiency(): Double!

getAdrTunnelRestrictionCode

open fun getAdrTunnelRestrictionCode(): AdrTunnelRestrictionCode!

getAuxiliaryPowerInKW

open fun getAuxiliaryPowerInKW(): Double!

getAuxiliaryPowerInLitersPerHour

open fun getAuxiliaryPowerInLitersPerHour(): Double!

getAvoidList

open fun getAvoidList(): MutableList<Avoid!>!

getAvoidType

open fun getAvoidType(): Avoid!

getConsiderTraffic

open fun getConsiderTraffic(): Boolean!

getConstantSpeedConsumptionInKWhPerHundredKm

open fun getConstantSpeedConsumptionInKWhPerHundredKm(): SpeedToConsumptionMap!

getConstantSpeedConsumptionInLitersPerHundredKm

open fun getConstantSpeedConsumptionInLitersPerHundredKm(): SpeedToConsumptionMap!

getCurrentChargeInKWh

open fun getCurrentChargeInKWh(): Double!

getCurrentFuelInLiters

open fun getCurrentFuelInLiters(): Double!

getDecelerationEfficiency

open fun getDecelerationEfficiency(): Double!

getDepartAt

open fun getDepartAt(): Date!

getDownhillEfficiency

open fun getDownhillEfficiency(): Double!

getFuelEnergyDensityInMJoulesPerLiter

open fun getFuelEnergyDensityInMJoulesPerLiter(): Double!

getHilliness

open fun getHilliness(): Hilliness!

getMaxChargeInKWh

open fun getMaxChargeInKWh(): Double!

getRouteType

open fun getRouteType(): RouteType!

getTravelMode

open fun getTravelMode(): TravelMode!

getUphillEfficiency

open fun getUphillEfficiency(): Double!

getVehicleAxleWeightInKg

open fun getVehicleAxleWeightInKg(): Int!

getVehicleCommercial

open fun getVehicleCommercial(): Boolean!

getVehicleEngineType

open fun getVehicleEngineType(): VehicleEngineType!

getVehicleHeightInMeters

open fun getVehicleHeightInMeters(): Double!

getVehicleLengthInMeters

open fun getVehicleLengthInMeters(): Double!

getVehicleLoadType

open fun getVehicleLoadType(): VehicleLoadType!

getVehicleMaxSpeedInKph

open fun getVehicleMaxSpeedInKph(): Int!

getVehicleWeightInKg

open fun getVehicleWeightInKg(): Int!

getVehicleWidthInMeters

open fun getVehicleWidthInMeters(): Double!

getWindingness

open fun getWindingness(): Windingness!

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.