Builder

class Builder

Constructors

Link copied to clipboard
fun Builder()

Functions

Link copied to clipboard
fun arriveInDirection(arriveInDirection: Boolean): Routing.Builder
Link copied to clipboard
fun avoidFerries(avoidFerries: Boolean): Routing.Builder
Link copied to clipboard
fun avoidMotorways(avoidMotorways: Boolean): Routing.Builder
Link copied to clipboard
fun avoidParkways(avoidParkways: Boolean): Routing.Builder
Link copied to clipboard
fun avoidSpecialAreas(avoidSpecialAreas: Boolean): Routing.Builder
Link copied to clipboard
fun avoidTollRoads(avoidTollRoads: Boolean): Routing.Builder
Link copied to clipboard
fun avoidUnpavedRoads(avoidUnpavedRoads: Boolean): Routing.Builder
Link copied to clipboard
fun build(): Routing
Link copied to clipboard
fun computeAlternatives(computeAlternatives: Boolean): Routing.Builder
Link copied to clipboard
fun emissionCategory(emissionCategory: Routing.EmissionCategory): Routing.Builder
Link copied to clipboard
fun fuelType(fuelType: Routing.FuelType): Routing.Builder
Link copied to clipboard
fun generateExtendedInfo(generateExtendedInfo: Boolean): Routing.Builder
Link copied to clipboard
fun loadRestrictions(loadRestrictions: Int): Routing.Builder
Link copied to clipboard
fun manufactureYear(manufactureYear: Int): Routing.Builder
Link copied to clipboard
fun maxRecomputeCount(maxRecomputeCount: Int): Routing.Builder

The number of recomputes after which a full compute will be triggered.

Link copied to clipboard
fun recomputeDistance(recomputeDistance: Int): Routing.Builder
Link copied to clipboard
fun recomputeIteration(recomputeIteration: Int): Routing.Builder
Link copied to clipboard
fun routeComputeType(routeComputeType: Routing.RouteComputeType): Routing.Builder
Link copied to clipboard
fun service(service: Routing.Service): Routing.Builder
Link copied to clipboard
fun speedProfiles(speedProfiles: Boolean): Routing.Builder
Link copied to clipboard
fun trailerAxles(trailerAxles: Int): Routing.Builder
Link copied to clipboard
fun trailers(trailers: Int): Routing.Builder
Link copied to clipboard
fun turnPreferenceSetting(turnPreference: Routing.TurnPreferenceSetting.TurnPreference, turnPenalty: Int): Routing.Builder
Link copied to clipboard
fun useTraffic(useTraffic: Boolean): Routing.Builder
Link copied to clipboard
fun vehicle(vehicle: Routing.Vehicle): Routing.Builder
Link copied to clipboard
fun vehicleAxles(vehicleAxles: Int): Routing.Builder
Link copied to clipboard
fun vehicleMaxSpeed(vehicleMaxSpeed: Int): Routing.Builder
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