DimensionalTraits

data class DimensionalTraits @JvmOverloads constructor(var totalWidth: Int = 0, var totalHeight: Int = 0, var totalLength: Int = 0, var totalWeight: Float = 0.0f, var payloadCapacity: Float = 0.0f, var trailers: List<Trailer> = emptyList(), var wheeledVehicle: WheeledVehicle? = null, var semiTrailer: SemiTrailer? = null) : Parcelable

Constructors

Link copied to clipboard
constructor(totalWidth: Int = 0, totalHeight: Int = 0, totalLength: Int = 0, totalWeight: Float = 0.0f, payloadCapacity: Float = 0.0f, trailers: List<Trailer> = emptyList(), wheeledVehicle: WheeledVehicle? = null, semiTrailer: SemiTrailer? = null)

Properties

Link copied to clipboard

vehicle payload capacity in kilograms

Link copied to clipboard

optional SemiTrailer object

Link copied to clipboard

vehicle total height in millimeters

Link copied to clipboard

vehicle total length in millimeters

Link copied to clipboard

vehicle total weight in kilograms

Link copied to clipboard

vehicle total width in millimeters

Link copied to clipboard

list of attached Trailer objects (may be empty)

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)