VehicleElectricEngineService
A service interface that provides access to state information, coming through the VHAL as properties of electric (EV) or hybrid vehicles.
Not all vehicles have EV or hybrid properties, and specific functionality can be unavailable. To reflect this, individual properties can have different 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 an invalid value, indicated by the
value
field of the property being set tonull
.Available: the property is available and has a valid value.
Types
Properties
Link copied to clipboard
abstract val accelerationEfficiency: VehicleProperties.NumberProperty<Float>?
Content copied to clipboard
Link copied to clipboard
abstract val batteryChargeLevel: VehicleProperties.RangedProperty<Energy>?
Content copied to clipboard
Link copied to clipboard
abstract val chargingConnectors: VehicleProperties.SetProperty<VehicleEvChargingConnector>?
Content copied to clipboard
Link copied to clipboard
abstract val chargingCurve: VehicleProperties.SetProperty<VehicleEvChargingCurvePoint>?
Content copied to clipboard
Link copied to clipboard
abstract val chargingTimeOffset: VehicleProperties.SingleProperty<Duration>?
Content copied to clipboard
Link copied to clipboard
abstract val consumptionModel: VehicleProperties.SingleProperty<VehicleEvConsumptionModel>?
Content copied to clipboard
Link copied to clipboard
abstract val decelerationEfficiency: VehicleProperties.NumberProperty<Float>?
Content copied to clipboard
Link copied to clipboard
abstract val downhillEfficiency: VehicleProperties.NumberProperty<Float>?
Content copied to clipboard
Link copied to clipboard
abstract val isChargingConnectorConnected: VehicleProperties.BooleanProperty?
Content copied to clipboard