ExteriorDimensions


@CarProtocol
@RequiresCarApi(value = 7)
class ExteriorDimensions


Information about the vehicle's exterior dimensions reported in millimeters.

Summary

Constants

const Int

The index for vehicle curb to curb turning radius in millimeters.

const Int

The index for vehicle height in millimeters.

const Int

The index for vehicle length in millimeters.

const Int

The index for vehicle front track width in millimeters.

const Int

The index for vehicle rear track width in millimeters.

const Int

The index for vehicle wheel base in millimeters.

const Int

The index for vehicle width including mirrors in millimeters.

const Int

The index for vehicle width in millimeters.

Public constructors

Creates a default ExteriorDimensions instance that report "unknown" as the value.

ExteriorDimensions(exteriorDimensions: CarValue<Array<Int!>!>)

Creates an ExteriorDimensions instance with the given car value.

Public functions

Boolean
equals(other: Any?)
CarValue<Array<Int!>!>

Returns the vehicle's exterior dimensions in millimeters.

Int
String

Constants

CURB_TO_CURB_TURNING_RADIUS_INDEX

Added in 1.7.0-beta02
const val CURB_TO_CURB_TURNING_RADIUS_INDEX = 7: Int

The index for vehicle curb to curb turning radius in millimeters.

HEIGHT_INDEX

Added in 1.7.0-beta02
const val HEIGHT_INDEX = 0: Int

The index for vehicle height in millimeters.

LENGTH_INDEX

Added in 1.7.0-beta02
const val LENGTH_INDEX = 1: Int

The index for vehicle length in millimeters.

TRACK_WIDTH_FRONT_INDEX

Added in 1.7.0-beta02
const val TRACK_WIDTH_FRONT_INDEX = 5: Int

The index for vehicle front track width in millimeters.

TRACK_WIDTH_REAR_INDEX

Added in 1.7.0-beta02
const val TRACK_WIDTH_REAR_INDEX = 6: Int

The index for vehicle rear track width in millimeters.

WHEEL_BASE_INDEX

Added in 1.7.0-beta02
const val WHEEL_BASE_INDEX = 4: Int

The index for vehicle wheel base in millimeters.

WIDTH_INCLUDING_MIRRORS_INDEX

Added in 1.7.0-beta02
const val WIDTH_INCLUDING_MIRRORS_INDEX = 3: Int

The index for vehicle width including mirrors in millimeters.

WIDTH_INDEX

Added in 1.7.0-beta02
const val WIDTH_INDEX = 2: Int

The index for vehicle width in millimeters.

Public constructors

ExteriorDimensions

Added in 1.7.0-beta02
ExteriorDimensions()

Creates a default ExteriorDimensions instance that report "unknown" as the value.

ExteriorDimensions

Added in 1.7.0-beta02
ExteriorDimensions(exteriorDimensions: CarValue<Array<Int!>!>)

Creates an ExteriorDimensions instance with the given car value.

Public functions

equals

fun equals(other: Any?): Boolean

getExteriorDimensions

Added in 1.7.0-beta02
fun getExteriorDimensions(): CarValue<Array<Int!>!>

Returns the vehicle's exterior dimensions in millimeters. This information is reported as-is from the manufacturer and is keyed off of the indexes defined in this class, as documented in VehiclePropertyIds#INFO_EXTERIOR_DIMENSIONS.

hashCode

fun hashCode(): Int

toString

fun toString(): String