VehicleSpecificationService

interface VehicleSpecificationService

A service interface that provides information about the vehicle's specifications, containing physical vehicle properties.

A property can be in one of 3 states:

  • Unsupported: the property is not supported by the vehicle platform. In this case the property itself is set to null.

  • Supported but unavailable: the property is temporarily unavailable or has invalid value. Indicated by the value field of the property being set to null.

  • Available: the property is available and has a valid value.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val brandName: VehicleProperties.StringProperty?

The brand name of the vehicle's manufacturer. Also known as the vehicle's "make".

Link copied to clipboard
abstract val driverSeatArea: VehicleProperties.VehicleAreaProperty<SeatArea>?

The driver's seat location.

Link copied to clipboard
abstract val engineType: VehicleProperties.SingleProperty<VehicleEngineType>?

The vehicle's engine type.

Link copied to clipboard

The vehicle's physical dimensions.

Link copied to clipboard
abstract val modelName: VehicleProperties.StringProperty?

The vehicle's model name.

Link copied to clipboard
abstract val modelYear: VehicleProperties.NumberProperty<Int>?

The vehicle's model year.

Link copied to clipboard
abstract val type: VehicleProperties.SingleProperty<VehicleType>?

The vehicle's type.

Link copied to clipboard
abstract val weight: VehicleProperties.SingleProperty<Weight>?

The vehicle's weight.