sdk-routing / com.tomtom.online.sdk.routing.data / RouteQuery / <init>

<init>

RouteQuery(origPosition: LatLng!, destPosition: LatLng!, wayPoints: Array<LatLng!>!, wayPointsList: MutableList<LatLng!>!, wayPointsWithAcc: MutableList<LatLngAcc!>!, maxAlternatives: Int!, alternativeType: AlternativeType!, minDeviationDistance: Int!, minDeviationTime: Int!, instructionsType: InstructionsType!, language: String!, computeBestOrder: Boolean!, routeRepresentation: RouteRepresentation!, computeTravelTimeFor: TravelTimeType!, vehicleHeading: Int!, sectionType: SectionType!, report: Report!, supportingPoints: MutableList<LatLng!>!, avoidVignettes: MutableList<String!>!, allowVignettes: MutableList<String!>!, arriveAt: Date!, avoidAreas: MutableList<BoundingBox!>!, departAt: Date!, routeType: RouteType!, considerTraffic: Boolean!, avoidType: Avoid!, avoidList: MutableList<Avoid!>!, travelMode: TravelMode!, hilliness: Hilliness!, windingness: Windingness!, vehicleMaxSpeedInKph: Int!, vehicleWeightInKg: Int!, vehicleAxleWeightInKg: Int!, vehicleLengthInMeters: Double!, vehicleWidthInMeters: Double!, vehicleHeightInMeters: Double!, vehicleCommercial: Boolean!, vehicleLoadType: VehicleLoadType!, vehicleEngineType: VehicleEngineType!, constantSpeedConsumptionInLitersPerHundredKm: SpeedToConsumptionMap!, currentFuelInLiters: Double!, auxiliaryPowerInLitersPerHour: Double!, fuelEnergyDensityInMJoulesPerLiter: Double!, accelerationEfficiency: Double!, decelerationEfficiency: Double!, uphillEfficiency: Double!, downhillEfficiency: Double!, constantSpeedConsumptionInKWhPerHundredKm: SpeedToConsumptionMap!, currentChargeInKWh: Double!, maxChargeInKWh: Double!, auxiliaryPowerInKW: Double!, adrTunnelRestrictionCode: AdrTunnelRestrictionCode!)

A constructor that creates an instance of RouteQuery and assigns passed values to proper fields. Instead of directly using this constructor, use RouteQueryBuilder.