package

androidx.car.app

Interfaces

HostCall<ServiceT, ReturnT>Defines calls to make to host services
OnDoneCallbackA host-side interface for handling success and failure scenarios on calls to the client.
OnRequestPermissionsListenerA listener with the results from a permissions request.
OnScreenResultListenerA listener to provide the result set by a Screen.
SurfaceCallbackA callback for changes on the SurfaceContainer and its attributes.

Classes

AppInfoContainer class for information about the app the host is connected to.
AppManagerManages the communication between the app and the host.
CarAlertDialogA subclass of Dialog that is tailored for the car environment.
CarAlertDialog.BuilderBuilder class that can be used to create a CarAlertDialog by configuring the options for what shows up in the resulting dialog.
CarAppMetadataHolderServiceA placeholder service to avoid adding application-level metadata.
CarAppPermissionDefines all constants for permissions that a car app can use.
CarAppPermissionActivityAn activity for use by the car app library to request a permission.
CarAppServiceThe base class for implementing a car app that runs in the car
CarContextThe CarContext class is a subclass accessible to your CarAppService and Screen instances, which provides access to car services such as the ScreenManager for managing the screen stack, the AppManager for general app-related functionality such as accessing a surface for drawing your navigation app's map, and the NavigationManager used by turn-by-turn navigation apps to communicate navigation metadata and other navigation-related events with the host.
CarListDialogA subclass of Dialog that is tailored for the car environment.
CarListDialog.BuilderBuilder class that can be used to create a CarListDialog by configuring the options for the list and behavior of the dialog.
CarListDialog.DialogSubSectionA struct that holds data for a section.
CarToastA message to show to the user for a short period of time.
FailureResponseDenotes a failure in the client to a host request.
HandshakeInfoA container for the information conveyed by the host after the handshake with the app is completed.
HostDispatcherDispatches calls to the host and manages possible exceptions.
HostInfoContainer class for information about the host the app is connected to.
ScreenA Screen has a Lifecycle and provides the mechanism for the app to send Templates to display when the Screen is visible.
ScreenManagerManages the stack of Screens and their respective Lifecycles.
SessionThe base class for implementing a session for a car app.
SessionInfoInformation about a Session, such as the physical display and the session ID.
SessionInfoIntentEncoderHelper to encode and decode a SessionInfo from an
SurfaceContainerA container for the created by the host and its associated properties.

Annotation Types

CarAppPermission.LibraryPermissionDefines which permissions are ones defined by the car app library.
CarContext.CarServiceTypeRepresents the types of services for client-host communication.
CarToast.Duration
FailureResponse.ErrorTypeThe exception type of the failure.
SessionInfo.DisplayType