sdk-routing / com.tomtom.online.sdk.data / CommonParamsBuilder

CommonParamsBuilder

open class CommonParamsBuilder : CommonParams<CommonParamsBuilder!>, PostCommonParams<CommonParamsBuilder!>, SupportsReportParam<CommonParamsBuilder!>, JniNativeHandleOwner

A class used to build commonly used params using native handle to native service.

Constructors

<init>

CommonParamsBuilder()

A constructor for the params builder that creates a native handle.

Functions

dispose

open fun dispose(): Unit

getNativeHandle

open fun getNativeHandle(): Long

withAccelerationEfficiency

open fun withAccelerationEfficiency(accelerationEfficiency: Double!): CommonParamsBuilder

withAllowVignettes

open fun withAllowVignettes(allowVignettes: MutableList<String!>?): CommonParamsBuilder

withAuxiliaryPowerInKW

open fun withAuxiliaryPowerInKW(auxiliaryPowerInKW: Double!): CommonParamsBuilder

withAuxiliaryPowerInLitersPerHour

open fun withAuxiliaryPowerInLitersPerHour(auxiliaryPowerInLitersPerHour: Double!): CommonParamsBuilder

withAvoidAreas

open fun withAvoidAreas(avoidAreas: MutableList<BoundingBox!>?): CommonParamsBuilder

withAvoidType

open fun withAvoidType(avoidType: Avoid!): CommonParamsBuilder

withAvoidTypes

open fun withAvoidTypes(avoidList: MutableList<Avoid!>!): CommonParamsBuilder

withAvoidVignettes

open fun withAvoidVignettes(avoidVignettes: MutableList<String!>): CommonParamsBuilder

withConsiderTraffic

open fun withConsiderTraffic(considerTraffic: Boolean!): CommonParamsBuilder

withConstantSpeedConsumptionInKWhPerHundredKm

open fun withConstantSpeedConsumptionInKWhPerHundredKm(constantSpeedConsumptionInKWhPerHundredKm: SpeedToConsumptionMap): CommonParamsBuilder

withConstantSpeedConsumptionInLitersPerHundredKm

open fun withConstantSpeedConsumptionInLitersPerHundredKm(constantSpeedConsumptionInLitersPerHundredKm: SpeedToConsumptionMap): CommonParamsBuilder

withCurrentChargeInKWh

open fun withCurrentChargeInKWh(currentChargeInKWh: Double!): CommonParamsBuilder

withCurrentFuelInLiters

open fun withCurrentFuelInLiters(currentFuelInLiters: Double!): CommonParamsBuilder

withDecelerationEfficiency

open fun withDecelerationEfficiency(decelerationEfficiency: Double!): CommonParamsBuilder

withDepartAt

open fun withDepartAt(departAt: Date!): CommonParamsBuilder

withDownhillEfficiency

open fun withDownhillEfficiency(downhillEfficiency: Double!): CommonParamsBuilder

withFuelEnergyDensityInMJoulesPerLiter

open fun withFuelEnergyDensityInMJoulesPerLiter(fuelEnergyDensityInMJoulesPerLiter: Double!): CommonParamsBuilder

withHilliness

open fun withHilliness(hilliness: Hilliness!): CommonParamsBuilder

withIsVehicleCommercial

open fun withIsVehicleCommercial(isVehicleCommercial: Boolean!): CommonParamsBuilder

withMaxChargeInKWh

open fun withMaxChargeInKWh(maxChargeInKWh: Double!): CommonParamsBuilder

withReport

open fun withReport(report: Report!): CommonParamsBuilder

withRouteType

open fun withRouteType(routeType: RouteType!): CommonParamsBuilder

withTravelMode

open fun withTravelMode(travelMode: TravelMode!): CommonParamsBuilder

withUphillEfficiency

open fun withUphillEfficiency(uphillEfficiency: Double!): CommonParamsBuilder

withVehicleAdrTunnelRestrictionCode

open fun withVehicleAdrTunnelRestrictionCode(adrTunnelRestrictionCode: AdrTunnelRestrictionCode!): CommonParamsBuilder!

withVehicleAxleWeightInKg

open fun withVehicleAxleWeightInKg(vehicleAxleWeightInKg: Int!): CommonParamsBuilder

withVehicleEngineType

open fun withVehicleEngineType(vehicleEngineType: VehicleEngineType!): CommonParamsBuilder

withVehicleHeightInMeters

open fun withVehicleHeightInMeters(vehicleHeightInMeters: Double!): CommonParamsBuilder

withVehicleLengthInMeters

open fun withVehicleLengthInMeters(vehicleLengthInMeters: Double!): CommonParamsBuilder

withVehicleLoadType

open fun withVehicleLoadType(vehicleLoadType: VehicleLoadType!): CommonParamsBuilder

withVehicleMaxSpeedInKph

open fun withVehicleMaxSpeedInKph(vehicleMaxSpeedInKph: Int!): CommonParamsBuilder

withVehicleWeightInKg

open fun withVehicleWeightInKg(vehicleWeightInKg: Int!): CommonParamsBuilder

withVehicleWidthInMeters

open fun withVehicleWidthInMeters(vehicleWidthInMeters: Double!): CommonParamsBuilder

withWindingness

open fun withWindingness(windingness: Windingness!): CommonParamsBuilder