Package-level declarations
This package provides helper classes to interact with android.car
.
The package provides two classes and an interface, usable in different contexts:
VhalPropertyDelegate. Maps an Android Vehicle Hardware Abstraction Layer property to an IVI service property.
VhalWrapper. Implements basic handling of car properties from Vehicle Hardware Abstraction Layer. Intended to be used in vehicle function service implementations.
Types
Link copied to clipboard
class VhalPropertyDelegate<ValueType>(vhalPropertyId: Int, serviceProperty: KMutableProperty<ValueType?>, valueConverter: VhalPropertyDelegate.ValueConverter<ValueType>, sensorRateHz: Float = CarPropertyManager.SENSOR_RATE_ONCHANGE)
Maps an Android Vehicle Hardware Abstraction Layer property to a ValueType.
Link copied to clipboard
class VhalWrapper
VhalWrapper implements basic handling of car properties from Android's Vehicle Hardware Abstraction Layer. Intended to be used in vehicle function service implementations.