public interface RouteQuery
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Remove all internal references, clear memory.
|
long |
getNativeHandle()
Get query id, must be unique.
|
RouteQuery |
withAccelerationEfficiency(float accelerationEfficiency)
Specifies the efficiency of converting chemical energy stored in fuel to kinetic
energy when the vehicle accelerates (i.e.
|
RouteQuery |
withAlternativeType(AlternativeType alternativeType)
Controls the optimality, with respect to the given planning criteria, of the calculated alternatives compared to the reference route.
|
RouteQuery |
withArriveAt(java.util.Date arriveAt)
Specifies the desired arrival time for the route to calculation.
|
RouteQuery |
withAuxiliaryPowerInkW(float auxiliaryPowerInkW)
Specifies the amount of power consumed for sustaining auxiliary systems, in kilowatts (kW).
|
RouteQuery |
withAuxiliaryPowerInLitersPerHour(float auxiliaryPowerInLitersPerHour)
Specifies the amount of fuel consumed for sustaining auxiliary systems of the vehicle, in liters per hour.
|
RouteQuery |
withAvoidType(Avoid avoidType)
Specifies what the route calculation should try to avoid when determining the route.
|
RouteQuery |
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.
|
RouteQuery |
withComputeBestOrder(boolean isComputeBestOrder)
Specifies if the best order of waypoints should be used to compute route.
|
RouteQuery |
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.
|
RouteQuery |
withConstantSpeedConsumptionInkWh(java.util.Map<java.lang.Integer,java.lang.Double> speedConsumptionInkWhPairs)
Specifies the speed-dependent component of consumption.
|
RouteQuery |
withConstantSpeedConsumptionInLiters(java.util.Map<java.lang.Integer,java.lang.Double> speedConsumptionInLitersPairs)
Specifies the speed-dependent component of consumption.
|
RouteQuery |
withCurrentChargeInkWh(float currentChargeInkWh)
Specifies the current electric energy supply in kilowatt hours (kWh).
|
RouteQuery |
withCurrentFuelInLiters(float currentFuelInLiters)
Specifies the current supply of fuel in liters.
|
RouteQuery |
withDecelerationEfficiency(float decelerationEfficiency)
Specifies the efficiency of converting kinetic energy to saved (not consumed) fuel when the vehicle decelerates
(i.e.
|
RouteQuery |
withDepartAt(java.util.Date departAt)
Specifies the departure time for the route to calculation.
|
RouteQuery |
withDownhillEfficiency(float downhillEfficiency)
Specifies the efficiency of converting potential energy to saved (not consumed) fuel when the vehicle loses elevation
(i.e.
|
RouteQuery |
withFuelEnergyDensityInMJoulesPerLiter(float fuelEnergyDensityInMJoulesPerLiter)
Specifies the amount of chemical energy stored in one liter of fuel in megajoules (MJ).
|
RouteQuery |
withHilliness(Hilliness hilliness)
Specifies the hilliness type for route calculation.
|
RouteQuery |
withInstructionsType(InstructionsType instructionsType)
Specifies the instructions type for the route calculation.
|
RouteQuery |
withLanguage(java.lang.String language)
Specifies the language used for route calculation.
|
RouteQuery |
withMaxAlternatives(int maxAlternatives)
Specifies the maximal number of route alternatives to be calculated by service.
|
RouteQuery |
withMaxChargeInkWh(float maxChargeInkWh)
Specifies the maximum electric energy supply in kilowatt hours (kWh) that may be stored in the vehicle's battery.
|
RouteQuery |
withMinDeviationDistance(int 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.
|
RouteQuery |
withMinDeviationTime(int 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.
|
RouteQuery |
withReport(Report report)
Specifies if the report should be provided on route query response.
|
RouteQuery |
withRouteRepresentation(RouteRepresentation routeRepresentation)
Specifies the route representation for the route calculation.
|
RouteQuery |
withRouteType(RouteType routeType)
Specifies the route type for the route calculation.
|
RouteQuery |
withSectionType(SectionType sectionType)
Specifies which of the section types is reported in the route response.
|
RouteQuery |
withSupportingPoints(java.util.List<LatLng> supportingPoints)
A list of base route points to be used as input for route reconstruction.
|
RouteQuery |
withTraffic(boolean isWithTraffic)
Specifies if it should consider all available traffic information during routing.
|
RouteQuery |
withTravelMode(TravelMode travelMode)
Specifies the travel mode for the route calculation.
|
RouteQuery |
withUphillEfficiency(float uphillEfficiency)
Specifies the efficiency of converting chemical energy stored in fuel to potential energy when the vehicle gains elevation
(i.e.
|
RouteQuery |
withVehicleAxleWeight(int vehicleAxleWeight)
Specifies the vehicle axle weight for route calculation.
|
RouteQuery |
withVehicleCommercial(boolean isVehicleCommercial)
Specifies if the vehicle is used for commercial to calculate route.
|
RouteQuery |
withVehicleEngineType(VehicleEngineType vehicleEngineType)
Specifies the vehicle engine type for route query.
|
RouteQuery |
withVehicleHeading(int vehicleHeading)
Specifies the vehicle heading for route calculation.
|
RouteQuery |
withVehicleHeight(float vehicleHeight)
Specifies the vehicle height for route calculation.
|
RouteQuery |
withVehicleLength(float vehicleLength)
Specifies the vehicle length for route calculation.
|
RouteQuery |
withVehicleLoadType(VehicleLoadType vehicleLoadType)
Specifies the vehicle load type for route calculation.
|
RouteQuery |
withVehicleMaxSpeed(int vehicleMaxSpeed)
Specifies the vehicle max speed for route calculation.
|
RouteQuery |
withVehicleWeight(int vehicleWeight)
Specifies the vehicle weight in kilograms for route calculation.
|
RouteQuery |
withVehicleWidth(float vehicleWidth)
Specifies the vehicle width for route calculation.
|
RouteQuery |
withWayPoints(LatLng[] wayPoints)
Specifies the array of map coordinate whose geographical information your waypoints for the route calculation.
|
RouteQuery |
withWindingness(Windingness windingness)
Specifies the windingness type for route calculation.
|
long getNativeHandle()
void dispose()
RouteQuery withWayPoints(LatLng[] wayPoints)
wayPoints
- RouteQuery withMaxAlternatives(int maxAlternatives)
maxAlternatives
- RouteQuery withAlternativeType(AlternativeType alternativeType)
alternativeType
- RouteQuery withMinDeviationDistance(int minDeviationDistance)
minDeviationDistance
- RouteQuery withMinDeviationTime(int minDeviationTime)
minDeviationTime
- RouteQuery withInstructionsType(InstructionsType instructionsType)
instructionsType
- RouteQuery withLanguage(java.lang.String language)
language
- RouteQuery withComputeBestOrder(boolean isComputeBestOrder)
isComputeBestOrder
- RouteQuery withRouteRepresentation(RouteRepresentation routeRepresentation)
routeRepresentation
- RouteQuery withComputeTravelTimeFor(TravelTimeType computeTravelTimeFor)
computeTravelTimeFor
- RouteQuery withVehicleHeading(int vehicleHeading)
vehicleHeading
- RouteQuery withSectionType(SectionType sectionType)
sectionType
- RouteQuery withReport(Report report)
report
- RouteQuery withDepartAt(java.util.Date departAt)
departAt
- RouteQuery withArriveAt(java.util.Date arriveAt)
arriveAt
- RouteQuery withRouteType(RouteType routeType)
routeType
- RouteQuery withTraffic(boolean isWithTraffic)
isWithTraffic
- RouteQuery withAvoidType(Avoid avoidType)
avoidType
- RouteQuery withTravelMode(TravelMode travelMode)
travelMode
- RouteQuery withHilliness(Hilliness hilliness)
hilliness
- RouteQuery withWindingness(Windingness windingness)
windingness
- RouteQuery withVehicleMaxSpeed(int vehicleMaxSpeed)
vehicleMaxSpeed
- RouteQuery withVehicleWeight(int vehicleWeight)
vehicleWeight
- RouteQuery withVehicleAxleWeight(int vehicleAxleWeight)
vehicleAxleWeight
- RouteQuery withVehicleLength(float vehicleLength)
vehicleLength
- RouteQuery withVehicleWidth(float vehicleWidth)
vehicleWidth
- RouteQuery withVehicleHeight(float vehicleHeight)
vehicleHeight
- RouteQuery withVehicleCommercial(boolean isVehicleCommercial)
isVehicleCommercial
- RouteQuery withVehicleLoadType(VehicleLoadType vehicleLoadType)
vehicleLoadType
- RouteQuery withVehicleEngineType(VehicleEngineType vehicleEngineType)
vehicleEngineType
- RouteQuery withConstantSpeedConsumptionInLiters(java.util.Map<java.lang.Integer,java.lang.Double> speedConsumptionInLitersPairs)
speedConsumptionInLitersPairs
- RouteQuery withCurrentFuelInLiters(float currentFuelInLiters)
currentFuelInLiters
- RouteQuery withAuxiliaryPowerInLitersPerHour(float auxiliaryPowerInLitersPerHour)
auxiliaryPowerInLitersPerHour
- RouteQuery withFuelEnergyDensityInMJoulesPerLiter(float fuelEnergyDensityInMJoulesPerLiter)
fuelEnergyDensityInMJoulesPerLiter
- RouteQuery withAccelerationEfficiency(float accelerationEfficiency)
accelerationEfficiency
- RouteQuery withDecelerationEfficiency(float decelerationEfficiency)
decelerationEfficiency
- RouteQuery withUphillEfficiency(float uphillEfficiency)
uphillEfficiency
- RouteQuery withDownhillEfficiency(float downhillEfficiency)
downhillEfficiency
- RouteQuery withConstantSpeedConsumptionInkWh(java.util.Map<java.lang.Integer,java.lang.Double> speedConsumptionInkWhPairs)
speedConsumptionInkWhPairs
- RouteQuery withCurrentChargeInkWh(float currentChargeInkWh)
currentChargeInkWh
- RouteQuery withMaxChargeInkWh(float maxChargeInkWh)
maxChargeInkWh
- RouteQuery withAuxiliaryPowerInkW(float auxiliaryPowerInkW)
auxiliaryPowerInkW
- RouteQuery withSupportingPoints(java.util.List<LatLng> supportingPoints)
supportingPoints
- RouteQuery withAvoidVignettes(java.util.List<java.lang.String> avoidVignettes)
avoidVignettes
-