package

androidx.car.app.activity

Interfaces

ErrorHandlerError handling abstraction
ServiceConnectionManager.ServiceConnectionListenerA listener receive connection status updates
ServiceDispatcher.OnBindingListenerAn interface for monitoring the binding state of a service connection.
ServiceDispatcher.OneWayCallA one way call to the service
ServiceDispatcher.ReturnCall<T>A call to fetch a value from the service.

Classes

BaseCarAppActivityCore logic for CarAppLibrary Activity interaction with a host.
CarAppActivityThe class representing a car app activity in the main display.
CarAppViewModelThe view model to keep track of the CarAppActivity data.
HostUpdateReceiverBroadcastReceiver used to detect host updates, and trigger automatic re-connection.
LauncherActivity

This class handles providing the right launcher activity when running native applications and Car App Library applications.

LogTagsDeclares the log tags to use in the library.
ResultManagerAutomotiveAutomotive implementation of ResultManager
ServiceConnectionManagerManages the renderer service connection state.
ServiceDispatcher messages dispatcher, responsible for IPC error handling.

Enums

CarAppViewModel.StatePossible view states
ErrorHandler.ActionTypePossible actions to take when the user clicks on the action button associated with an error
ErrorHandler.ErrorTypeAll possible error conditions