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

RouteQuery

@DeprecatedSince("2020.06", "com.tomtom.online.sdk.routing.route.RouteSpecification") open class RouteQuery : CommonRequestQuery
Deprecated: Deprecated in Java

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

Constructors

<init>

RouteQuery(origPosition: LatLng!, destPosition: LatLng!, wayPoints: Array<LatLng!>!, wayPointsList: MutableList<LatLng!>!, wayPointsWithAcc: MutableList<LatLngAcc!>!, maxAlternatives: Int!, alternativeType: AlternativeType!, minDeviationDistance: Int!, minDeviationTime: Int!, instructionsType: InstructionsType!, language: String!, computeBestOrder: Boolean!, routeRepresentation: RouteRepresentation!, computeTravelTimeFor: TravelTimeType!, vehicleHeading: Int!, sectionType: SectionType!, report: Report!, supportingPoints: MutableList<LatLng!>!, avoidVignettes: MutableList<String!>!, allowVignettes: MutableList<String!>!, arriveAt: Date!, avoidAreas: MutableList<BoundingBox!>!, departAt: Date!, routeType: RouteType!, considerTraffic: Boolean!, avoidType: Avoid!, avoidList: MutableList<Avoid!>!, travelMode: TravelMode!, hilliness: Hilliness!, windingness: Windingness!, vehicleMaxSpeedInKph: Int!, vehicleWeightInKg: Int!, vehicleAxleWeightInKg: Int!, vehicleLengthInMeters: Double!, vehicleWidthInMeters: Double!, vehicleHeightInMeters: Double!, vehicleCommercial: Boolean!, vehicleLoadType: VehicleLoadType!, vehicleEngineType: VehicleEngineType!, constantSpeedConsumptionInLitersPerHundredKm: SpeedToConsumptionMap!, currentFuelInLiters: Double!, auxiliaryPowerInLitersPerHour: Double!, fuelEnergyDensityInMJoulesPerLiter: Double!, accelerationEfficiency: Double!, decelerationEfficiency: Double!, uphillEfficiency: Double!, downhillEfficiency: Double!, constantSpeedConsumptionInKWhPerHundredKm: SpeedToConsumptionMap!, currentChargeInKWh: Double!, maxChargeInKWh: Double!, auxiliaryPowerInKW: Double!, adrTunnelRestrictionCode: AdrTunnelRestrictionCode!)

A constructor that creates an instance of RouteQuery and assigns passed values to proper fields. Instead of directly using this constructor, use RouteQueryBuilder.

Inherited 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

dispose

open fun dispose(): Unit

equals

open fun equals(other: Any?): Boolean

getAllowVignettes

open fun getAllowVignettes(): MutableList<String!>!

getAlternativeType

open fun getAlternativeType(): AlternativeType!

getArriveAt

open fun getArriveAt(): Date!

getAvoidAreas

open fun getAvoidAreas(): MutableList<BoundingBox!>!

getAvoidList

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

getAvoidVignettes

open fun getAvoidVignettes(): MutableList<String!>!

getComputeBestOrder

open fun getComputeBestOrder(): Boolean!

getComputeTravelTimeFor

open fun getComputeTravelTimeFor(): TravelTimeType!

getDestPosition

open fun getDestPosition(): LatLng!

getInstructionsType

open fun getInstructionsType(): InstructionsType!

getLanguage

open fun getLanguage(): String!

getMaxAlternatives

open fun getMaxAlternatives(): Int!

getMinDeviationDistance

open fun getMinDeviationDistance(): Int!

getMinDeviationTime

open fun getMinDeviationTime(): Int!

getNativeHandle

open fun getNativeHandle(): Long

getOrigPosition

open fun getOrigPosition(): LatLng!

getReport

open fun getReport(): Report!

getRouteRepresentation

open fun getRouteRepresentation(): RouteRepresentation!

getSectionType

open fun getSectionType(): SectionType!

getSupportingPoints

open fun getSupportingPoints(): MutableList<LatLng!>!

getVehicleHeading

open fun getVehicleHeading(): Int!

getWayPoints

open fun getWayPoints(): Array<LatLng!>!

getWayPointsList

open fun getWayPointsList(): MutableList<LatLng!>!

getWayPointsWithAcc

open fun getWayPointsWithAcc(): MutableList<LatLngAcc!>!

hashCode

open fun hashCode(): Int

prepare

open fun prepare(): Long

toString

open fun toString(): String

Inherited Functions

getAccelerationEfficiency

open fun getAccelerationEfficiency(): Double!

getAdrTunnelRestrictionCode

open fun getAdrTunnelRestrictionCode(): AdrTunnelRestrictionCode!

getAuxiliaryPowerInKW

open fun getAuxiliaryPowerInKW(): Double!

getAuxiliaryPowerInLitersPerHour

open fun getAuxiliaryPowerInLitersPerHour(): Double!

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