Package com.tomtom.ivi.platform.vehiclefunctions.api.common.androidcar

This package provides helper classes to interact with android.car.

The package provides two classes and an interface, usable in different contexts:

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.

Properties

Link copied to clipboard
val seatAreaMap: Map<Int, SeatArea>

Converts the VehicleAreaSeat to a dedicated SeatArea.

Link copied to clipboard
val windowAreaMap: Map<Int, WindowArea>

Converts the VehicleAreaWindow to a dedicated WindowArea.