sdk-routing / com.tomtom.online.sdk.routing.route.vehicle / VehicleDimensions

VehicleDimensions

@PublicPreview("2021.06") data class VehicleDimensions

Specifies the dimensions of the vehicle.

Parameters

vehicleWeightInKg - Specifies the weight of the vehicle in kilograms.

vehicleAxleWeightInKg - Specifies the weight per axle of the vehicle in kg.

vehicleLengthInMeters - Specifies the length of the vehicle in meters.

vehicleWidthInMeters - Specifies the width of the vehicle in meters.

vehicleHeightInMeters - Specifies the height of the vehicle in meters.

Types

Builder

class Builder

Builder used to create an instance of VehicleDimensions. Once constructed, the user cannot change the field values.

Properties

vehicleAxleWeightInKg

val vehicleAxleWeightInKg: Int?

Specifies the weight per axle of the vehicle in kg.

vehicleHeightInMeters

val vehicleHeightInMeters: Double?

Specifies the height of the vehicle in meters.

vehicleLengthInMeters

val vehicleLengthInMeters: Double?

Specifies the length of the vehicle in meters.

vehicleWeightInKg

val vehicleWeightInKg: Int?

Specifies the weight of the vehicle in kilograms.

vehicleWidthInMeters

val vehicleWidthInMeters: Double?

Specifies the width of the vehicle in meters.