public interface IRouteQuery
Modifier and Type | Method and Description |
---|---|
IRouteQuery |
withAccelerationEfficiency(java.lang.Double accelerationEfficiency)
Specifies the efficiency of converting chemical energy stored in fuel to kinetic
energy when the vehicle accelerates (i.e.
|
IRouteQuery |
withAllowVignettes(java.util.List<java.lang.String> allowVignettes)
List of 3-character ISO 3166-1 alpha-3 country codes of countries in which all toll roads with vignettes are allowed.
|
IRouteQuery |
withAlternativeType(AlternativeType alternativeType)
Controls the optimality, with respect to the given planning criteria, of the calculated alternatives compared to the reference route.
|
IRouteQuery |
withArriveAt(java.util.Date arriveAt)
Specifies the desired arrival time for the route to calculation.
|
IRouteQuery |
withAuxiliaryPowerInKW(java.lang.Double auxiliaryPowerInkW)
Specifies the amount of power consumed for sustaining auxiliary systems, in kilowatts (kW).
|
IRouteQuery |
withAuxiliaryPowerInLitersPerHour(java.lang.Double auxiliaryPowerInLitersPerHour)
Specifies the amount of fuel consumed for sustaining auxiliary systems of the vehicle, in liters per hour.
|
IRouteQuery |
withAvoidAreas(java.util.List<com.tomtom.online.sdk.common.location.BoundingBox> avoidAreas)
A list of rectangles that define areas that are to be avoided during route calculation.
|
IRouteQuery |
withAvoidType(Avoid avoidType)
Specifies what the route calculation should try to avoid when determining the route.
|
IRouteQuery |
withAvoidVignettes(java.util.List<java.lang.String> avoidVignettes)
List of 3-character ISO 3166-1 alpha-3 country codes of countries in which all toll roads with vignettes are to be avoided.
|
IRouteQuery |
withComputeBestOrder(java.lang.Boolean isComputeBestOrder)
Specifies if the best order of waypoints should be used to compute route.
|
IRouteQuery |
withComputeTravelTimeFor(TravelTimeType computeTravelTimeFor)
Specifies whether to return additional travel times using different types of traffic information (none, historic, live)
as well as the default best-estimate travel time.
|
IRouteQuery |
withConsiderTraffic(java.lang.Boolean isWithTraffic)
Specifies if it should consider all available traffic information during routing.
|
IRouteQuery |
withConstantSpeedConsumptionInKWhPerHundredKm(SpeedToConsumptionMap speedConsumptionInkWhPairs)
Specifies the speed-dependent component of consumption.
|
IRouteQuery |
withConstantSpeedConsumptionInLitersPerHundredKm(SpeedToConsumptionMap speedToConsumptionMap)
Specifies the speed-dependent component of consumption.
|
IRouteQuery |
withCurrentChargeInKWh(java.lang.Double currentChargeInkWh)
Specifies the current electric energy supply in kilowatt hours (kWh).
|
IRouteQuery |
withCurrentFuelInLiters(java.lang.Double currentFuelInLiters)
Specifies the current supply of fuel in liters.
|
IRouteQuery |
withDecelerationEfficiency(java.lang.Double decelerationEfficiency)
Specifies the efficiency of converting kinetic energy to saved (not consumed) fuel when the vehicle decelerates
(i.e.
|
IRouteQuery |
withDepartAt(java.util.Date departAt)
Specifies the departure time for the route to calculation.
|
IRouteQuery |
withDownhillEfficiency(java.lang.Double downhillEfficiency)
Specifies the efficiency of converting potential energy to saved (not consumed) fuel when the vehicle loses elevation
(i.e.
|
IRouteQuery |
withFuelEnergyDensityInMJoulesPerLiter(java.lang.Double fuelEnergyDensityInMJoulesPerLiter)
Specifies the amount of chemical energy stored in one liter of fuel in megajoules (MJ).
|
IRouteQuery |
withHilliness(Hilliness hilliness)
Specifies the hilliness type for route calculation.
|
IRouteQuery |
withInstructionsType(InstructionsType instructionsType)
Specifies the instructions type for the route calculation.
|
IRouteQuery |
withLanguage(java.lang.String language)
Specifies the language used for route calculation.
|
IRouteQuery |
withMaxAlternatives(java.lang.Integer maxAlternatives)
Specifies the maximal number of route alternatives to be calculated by service.
|
IRouteQuery |
withMaxChargeInKWh(java.lang.Double maxChargeInkWh)
Specifies the maximum electric energy supply in kilowatt hours (kWh) that may be stored in the vehicle's battery.
|
IRouteQuery |
withMinDeviationDistance(java.lang.Integer minDeviationDistance)
All alternative routes returned will follow the reference route from the origin
point of the calculateRoute request for at least this number of meters.
|
IRouteQuery |
withMinDeviationTime(java.lang.Integer minDeviationTime)
All alternative routes returned will follow the reference route from the origin
point of the calculateRoute request for at least this number of seconds.
|
IRouteQuery |
withReport(Report report)
Specifies if the report should be provided on route query response.
|
IRouteQuery |
withRouteRepresentation(RouteRepresentation routeRepresentation)
Specifies the route representation for the route calculation.
|
IRouteQuery |
withRouteType(RouteType routeType)
Specifies the route type for the route calculation.
|
IRouteQuery |
withSectionType(SectionType sectionType)
Specifies which of the section types is reported in the route response.
|
IRouteQuery |
withSupportingPoints(java.util.List<LatLng> supportingPoints)
A list of base route points to be used as input for route reconstruction.
|
IRouteQuery |
withTravelMode(TravelMode travelMode)
Specifies the travel mode for the route calculation.
|
IRouteQuery |
withUphillEfficiency(java.lang.Double uphillEfficiency)
Specifies the efficiency of converting chemical energy stored in fuel to potential energy when the vehicle gains elevation
(i.e.
|
IRouteQuery |
withVehicleAxleWeightInKg(java.lang.Integer vehicleAxleWeight)
Specifies the vehicle axle weight for route calculation.
|
IRouteQuery |
withVehicleCommercial(java.lang.Boolean isVehicleCommercial)
Specifies if the vehicle is used for commercial to calculate route.
|
IRouteQuery |
withVehicleEngineType(VehicleEngineType vehicleEngineType)
Specifies the vehicle engine type for route query.
|
IRouteQuery |
withVehicleHeading(java.lang.Integer vehicleHeading)
Specifies the vehicle heading for route calculation.
|
IRouteQuery |
withVehicleHeightInMeters(java.lang.Double vehicleHeight)
Specifies the vehicle height for route calculation.
|
IRouteQuery |
withVehicleLengthInMeters(java.lang.Double vehicleLength)
Specifies the vehicle length for route calculation.
|
IRouteQuery |
withVehicleLoadType(VehicleLoadType vehicleLoadType)
Specifies the vehicle load type for route calculation.
|
IRouteQuery |
withVehicleMaxSpeedInKph(java.lang.Integer vehicleMaxSpeedInKph)
Specifies the vehicle max speed for route calculation.
|
IRouteQuery |
withVehicleWeightInKg(java.lang.Integer vehicleWeight)
Specifies the vehicle weight in kilograms for route calculation.
|
IRouteQuery |
withVehicleWidthInMeters(java.lang.Double vehicleWidth)
Specifies the vehicle width for route calculation.
|
IRouteQuery |
withWayPoints(LatLng[] wayPoints)
Specifies the array of map coordinate whose geographical information your waypoints for the route calculation.
|
IRouteQuery |
withWayPointsList(java.util.List<LatLng> wayPoints)
Specifies the array of map coordinate whose geographical information your waypoints for the route calculation.
|
IRouteQuery |
withWayPointsWithAcc(java.util.List<com.tomtom.online.sdk.common.location.LatLngAcc> wayPoints)
Specifies the array of map coordinate whose geographical information your waypoints with radius for the route calculation.
|
IRouteQuery |
withWindingness(Windingness windingness)
Specifies the windingness type for route calculation.
|
@NonNull IRouteQuery withWayPoints(LatLng[] wayPoints)
wayPoints
- @NonNull IRouteQuery withWayPointsList(java.util.List<LatLng> wayPoints)
wayPoints
- @NonNull IRouteQuery withWayPointsWithAcc(java.util.List<com.tomtom.online.sdk.common.location.LatLngAcc> wayPoints)
wayPoints
- @NonNull IRouteQuery withMaxAlternatives(java.lang.Integer maxAlternatives)
maxAlternatives
- @NonNull IRouteQuery withAlternativeType(AlternativeType alternativeType)
alternativeType
- @NonNull IRouteQuery withMinDeviationDistance(java.lang.Integer minDeviationDistance)
minDeviationDistance
- @NonNull IRouteQuery withMinDeviationTime(java.lang.Integer minDeviationTime)
minDeviationTime
- @NonNull IRouteQuery withInstructionsType(InstructionsType instructionsType)
instructionsType
- @NonNull IRouteQuery withLanguage(java.lang.String language)
language
- @NonNull IRouteQuery withComputeBestOrder(java.lang.Boolean isComputeBestOrder)
isComputeBestOrder
- @NonNull IRouteQuery withRouteRepresentation(RouteRepresentation routeRepresentation)
routeRepresentation
- @NonNull IRouteQuery withComputeTravelTimeFor(TravelTimeType computeTravelTimeFor)
computeTravelTimeFor
- @NonNull IRouteQuery withVehicleHeading(java.lang.Integer vehicleHeading)
vehicleHeading
- @NonNull IRouteQuery withSectionType(SectionType sectionType)
sectionType
- @NonNull IRouteQuery withReport(Report report)
report
- @NonNull IRouteQuery withDepartAt(java.util.Date departAt)
departAt
- @NonNull IRouteQuery withArriveAt(java.util.Date arriveAt)
arriveAt
- @NonNull IRouteQuery withRouteType(RouteType routeType)
routeType
- @NonNull IRouteQuery withConsiderTraffic(java.lang.Boolean isWithTraffic)
isWithTraffic
- @NonNull IRouteQuery withAvoidType(Avoid avoidType)
avoidType
- @NonNull IRouteQuery withTravelMode(TravelMode travelMode)
travelMode
- @NonNull IRouteQuery withHilliness(Hilliness hilliness)
hilliness
- @NonNull IRouteQuery withWindingness(Windingness windingness)
windingness
- @NonNull IRouteQuery withVehicleMaxSpeedInKph(java.lang.Integer vehicleMaxSpeedInKph)
vehicleMaxSpeedInKph
- @NonNull IRouteQuery withVehicleWeightInKg(java.lang.Integer vehicleWeight)
vehicleWeight
- @NonNull IRouteQuery withVehicleAxleWeightInKg(java.lang.Integer vehicleAxleWeight)
vehicleAxleWeight
- @NonNull IRouteQuery withVehicleLengthInMeters(java.lang.Double vehicleLength)
vehicleLength
- @NonNull IRouteQuery withVehicleWidthInMeters(java.lang.Double vehicleWidth)
vehicleWidth
- @NonNull IRouteQuery withVehicleHeightInMeters(java.lang.Double vehicleHeight)
vehicleHeight
- @NonNull IRouteQuery withVehicleCommercial(java.lang.Boolean isVehicleCommercial)
isVehicleCommercial
- @NonNull IRouteQuery withVehicleLoadType(VehicleLoadType vehicleLoadType)
vehicleLoadType
- @NonNull IRouteQuery withVehicleEngineType(VehicleEngineType vehicleEngineType)
vehicleEngineType
- @NonNull IRouteQuery withConstantSpeedConsumptionInLitersPerHundredKm(SpeedToConsumptionMap speedToConsumptionMap)
speedToConsumptionMap
- @NonNull IRouteQuery withCurrentFuelInLiters(java.lang.Double currentFuelInLiters)
currentFuelInLiters
- @NonNull IRouteQuery withAuxiliaryPowerInLitersPerHour(java.lang.Double auxiliaryPowerInLitersPerHour)
auxiliaryPowerInLitersPerHour
- @NonNull IRouteQuery withFuelEnergyDensityInMJoulesPerLiter(java.lang.Double fuelEnergyDensityInMJoulesPerLiter)
fuelEnergyDensityInMJoulesPerLiter
- @NonNull IRouteQuery withAccelerationEfficiency(java.lang.Double accelerationEfficiency)
accelerationEfficiency
- @NonNull IRouteQuery withDecelerationEfficiency(java.lang.Double decelerationEfficiency)
decelerationEfficiency
- @NonNull IRouteQuery withUphillEfficiency(java.lang.Double uphillEfficiency)
uphillEfficiency
- @NonNull IRouteQuery withDownhillEfficiency(java.lang.Double downhillEfficiency)
downhillEfficiency
- @NonNull IRouteQuery withConstantSpeedConsumptionInKWhPerHundredKm(SpeedToConsumptionMap speedConsumptionInkWhPairs)
speedConsumptionInkWhPairs
- @NonNull IRouteQuery withCurrentChargeInKWh(java.lang.Double currentChargeInkWh)
currentChargeInkWh
- @NonNull IRouteQuery withMaxChargeInKWh(java.lang.Double maxChargeInkWh)
maxChargeInkWh
- @NonNull IRouteQuery withAuxiliaryPowerInKW(java.lang.Double auxiliaryPowerInkW)
auxiliaryPowerInkW
- @NonNull IRouteQuery withSupportingPoints(java.util.List<LatLng> supportingPoints)
supportingPoints
- @NonNull IRouteQuery withAvoidVignettes(java.util.List<java.lang.String> avoidVignettes)
avoidVignettes
- @NonNull IRouteQuery withAllowVignettes(java.util.List<java.lang.String> allowVignettes)
allowVignettes
- @NonNull IRouteQuery withAvoidAreas(java.util.List<com.tomtom.online.sdk.common.location.BoundingBox> avoidAreas)
avoidAreas
-