Package-level declarations
This package provides helper classes to interact with android.car
.
The package provides tools 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.
CarFlow. Flow to safely and simply access the Car service.
CarClient. Client to safely access the Car service for complex use cases.
Note: All of the tools are meant to operate under Android Automotive OS since version R (API 30), and will gracefully fail when running non-Automotive Android or with API levels below 30.
Types
Represents the state of a connection to the Car service.
Safe client for the Car service, in form of a Flow.
Experimental API for obtaining Android Car properties as Flows.
Maps an Android Vehicle Hardware Abstraction Layer property to a ValueType.
VhalWrapper implements basic handling of car properties from Android's Vehicle Hardware Abstraction Layer. Intended to be used in vehicle function service implementations.
Properties
Converts the VehicleAreaSeat to a dedicated SeatArea.
Converts the VehicleAreaWindow to a dedicated WindowArea.
Functions
Run block with a valid CarDrivingStateManager.
Run block with a valid CarDrivingStateManager.
Run block with a valid CarPowerManager.
Run block with a valid CarPowerManager.
Run block with a valid CarPropertyManager.
Run block with a valid CarPropertyManager.