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 |
withArriveAt(java.lang.String arriveAt)
Specifies the desired arrival time for the route to calculation.
|
RouteQuery |
withAvoidType(Avoid avoidType)
Specifies what the route calculation should try to avoid when determining the route.
|
RouteQuery |
withCallback(java.lang.String callback)
Adds the callback to route query.
|
RouteQuery |
withComputeBestOrder(boolean isComputeBestOrder)
Specifies if the best order of waypoints should be used to compute route.
|
RouteQuery |
withComputeTravelTimeFor(java.lang.String 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 |
withDepartAt(java.lang.String departAt)
Specifies the departure time for the route to calculation.
|
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 |
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 |
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 |
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(java.lang.String vehicleEngineType)
Specifies the vehicle engine type for route query.
|
RouteQuery |
withVehicleHeading(int vehicleHeading)
Specifies the vehicle heading for route calculation.
|
RouteQuery |
withVehicleHeight(double vehicleHeight)
Specifies the vehicle height for route calculation.
|
RouteQuery |
withVehicleLength(double vehicleLength)
Specifies the vehicle length for route calculation.
|
RouteQuery |
withVehicleLoadType(java.lang.String 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 for route calculation.
|
RouteQuery |
withVehicleWidth(double 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 withRouteType(RouteType routeType)
routeType
- RouteQuery withTraffic(boolean isWithTraffic)
isWithTraffic
- RouteQuery withAvoidType(Avoid avoidType)
avoidType
- RouteQuery withInstructionsType(InstructionsType instructionsType)
instructionsType
- RouteQuery withLanguage(java.lang.String language)
language
- RouteQuery withDepartAt(java.lang.String departAt)
departAt
- RouteQuery withArriveAt(java.lang.String arriveAt)
arriveAt
- RouteQuery withMaxAlternatives(int maxAlternatives)
maxAlternatives
- RouteQuery withComputeBestOrder(boolean isComputeBestOrder)
isComputeBestOrder
- RouteQuery withRouteRepresentation(RouteRepresentation routeRepresentation)
routeRepresentation
- RouteQuery withTravelMode(TravelMode travelMode)
travelMode
- RouteQuery withCallback(java.lang.String callback)
callback
- RouteQuery withComputeTravelTimeFor(java.lang.String computeTravelTimeFor)
computeTravelTimeFor
- RouteQuery withVehicleEngineType(java.lang.String vehicleEngineType)
vehicleEngineType
- RouteQuery withVehicleMaxSpeed(int vehicleMaxSpeed)
vehicleMaxSpeed
- RouteQuery withVehicleWeight(int vehicleWeight)
vehicleWeight
- RouteQuery withVehicleAxleWeight(int vehicleAxleWeight)
vehicleAxleWeight
- RouteQuery withVehicleLength(double vehicleLength)
vehicleLength
- RouteQuery withVehicleWidth(double vehicleWidth)
vehicleWidth
- RouteQuery withVehicleHeight(double vehicleHeight)
vehicleHeight
- RouteQuery withVehicleCommercial(boolean isVehicleCommercial)
isVehicleCommercial
- RouteQuery withVehicleLoadType(java.lang.String vehicleLoadType)
vehicleLoadType
- RouteQuery withVehicleHeading(int vehicleHeading)
vehicleHeading
- RouteQuery withHilliness(Hilliness hilliness)
hilliness
- RouteQuery withWindingness(Windingness windingness)
windingness
- RouteQuery withReport(Report report)
report
-