Builder

class Builder

Functions

arriveInDirection
Link copied to clipboard
fun arriveInDirection(arriveInDirection: Boolean): Routing.Builder
avoidFerries
Link copied to clipboard
fun avoidFerries(avoidFerries: Boolean): Routing.Builder
avoidMotorways
Link copied to clipboard
fun avoidMotorways(avoidMotorways: Boolean): Routing.Builder
avoidParkways
Link copied to clipboard
fun avoidParkways(avoidParkways: Boolean): Routing.Builder
avoidSpecialAreas
Link copied to clipboard
fun avoidSpecialAreas(avoidSpecialAreas: Boolean): Routing.Builder
avoidTollRoads
Link copied to clipboard
fun avoidTollRoads(avoidTollRoads: Boolean): Routing.Builder
avoidUnpavedRoads
Link copied to clipboard
fun avoidUnpavedRoads(avoidUnpavedRoads: Boolean): Routing.Builder
build
Link copied to clipboard
fun build(): Routing
computeAlternatives
Link copied to clipboard
fun computeAlternatives(computeAlternatives: Boolean): Routing.Builder
emissionCategory
Link copied to clipboard
fun emissionCategory(emissionCategory: Routing.EmissionCategory): Routing.Builder
fuelType
Link copied to clipboard
fun fuelType(fuelType: Routing.FuelType): Routing.Builder
generateExtendedInfo
Link copied to clipboard
fun generateExtendedInfo(generateExtendedInfo: Boolean): Routing.Builder
loadRestrictions
Link copied to clipboard
fun loadRestrictions(loadRestrictions: Int): Routing.Builder
manufactureYear
Link copied to clipboard
fun manufactureYear(manufactureYear: Int): Routing.Builder
maxRecomputeCount
Link copied to clipboard
fun maxRecomputeCount(maxRecomputeCount: Int): Routing.Builder
The number of recomputes after which a full compute will be triggered.
recomputeDistance
Link copied to clipboard
fun recomputeDistance(recomputeDistance: Int): Routing.Builder
recomputeIteration
Link copied to clipboard
fun recomputeIteration(recomputeIteration: Int): Routing.Builder
routeComputeType
Link copied to clipboard
fun routeComputeType(routeComputeType: Routing.RouteComputeType): Routing.Builder
service
Link copied to clipboard
fun service(service: Routing.Service): Routing.Builder
speedProfiles
Link copied to clipboard
fun speedProfiles(speedProfiles: Boolean): Routing.Builder
trailerAxles
Link copied to clipboard
fun trailerAxles(trailerAxles: Int): Routing.Builder
trailers
Link copied to clipboard
fun trailers(trailers: Int): Routing.Builder
turnPreferenceSetting
Link copied to clipboard
fun turnPreferenceSetting(turnPreference: Routing.TurnPreferenceSetting.TurnPreference, turnPenalty: Int): Routing.Builder
useTraffic
Link copied to clipboard
fun useTraffic(useTraffic: Boolean): Routing.Builder
vehicle
Link copied to clipboard
fun vehicle(vehicle: Routing.Vehicle): Routing.Builder
vehicleAxles
Link copied to clipboard
fun vehicleAxles(vehicleAxles: Int): Routing.Builder
vehicleMaxSpeed
Link copied to clipboard
fun vehicleMaxSpeed(vehicleMaxSpeed: Int): Routing.Builder
vehicleRestrictions
Link copied to clipboard
fun vehicleRestrictions(totalWeight: Int, axleWeight: Int, tandemWeight: Int, tridemWeight: Int, otherWeight: Int, unladenWeight: Int, totalLength: Int, axleLength: Int, trailerLength: Int, tractorLength: Int, kingpinLastAxle: Int, kingpinLastTandem: Int, kingpinEndTrailer: Int, otherLength: Int, width: Int, Height: Int, totalCombinationWeight: Int): Routing.Builder