sdk-routing / com.tomtom.online.sdk.routing.data.longDistanceEV / ILongDistanceEVRoutingQuery / withVehicleLoadType

withVehicleLoadType

abstract fun withVehicleLoadType(vehicleLoadType: NativeVehicleLoadType!): ILongDistanceEVRoutingQuery!

Used in the default builder LongDistanceEVRoutingQueryBuilder.

Parameters

vehicleLoadType - NativeVehicleLoadType!: Types of cargo that may be classified as hazardous materials and restricted from some roads. The vehicleLoadType can be specified multiple times.

Return
ILongDistanceEVRoutingQuery!: The builder of the query with a new value of the cargo type added.