androidx.car.app.model
Interfaces
AlertCallback |
A listener of dismiss events. |
AlertCallbackDelegate |
A host-side interface for reporting cancel events to clients. |
Content |
Interface implemented by models that can be invalidated and refreshed individually. |
InputCallback |
A listener for handling text input completion event. |
InputCallbackDelegate |
A host-side delegate for sending |
Item |
Interface implemented by models that can be added to an |
ItemList.OnItemVisibilityChangedListener |
A listener for handling item visibility changes. |
ItemList.OnSelectedListener |
A listener for handling selection events for lists with selectable items. |
OnCheckedChangeDelegate |
A host-side delegate for sending |
OnClickDelegate |
A host-side interface for reporting click to clients. |
OnClickListener |
A listener of click events. |
OnContentRefreshDelegate |
A host-side delegate for sending |
OnContentRefreshListener |
A listener of content refresh requests |
OnItemVisibilityChangedDelegate |
A host-side delegate for sending |
OnSelectedDelegate |
A host-side delegate for sending |
SearchCallbackDelegate |
A host-side delegate for sending |
SearchTemplate.SearchCallback |
A listener for search updates. |
TabCallbackDelegate |
A host-side delegate for sending |
TabTemplate.TabCallback |
A listener for tab selection. |
Template |
An interface used to denote a model that can act as a root for a tree of other models. |
Toggle.OnCheckedChangeListener |
A listener for handling checked state change events. |
Classes
Action |
Represents an action with an optional icon and text. |
Action.Builder |
A builder of |
ActionStrip |
Represents a list of |
ActionStrip.Builder |
A builder of |
Alert |
Represents an alert with an optional icon, subtitle and actions. |
Alert.Builder |
A builder of |
Badge |
Represents a badge that can be displayed as an overlay on top of an image. |
Badge.Builder |
A builder of |
CarColor |
Represents a color to be used in a car app. |
CarIcon |
Represents an icon to be used in a car app. |
CarIcon.Builder |
A builder of |
CarIconSpan |
A span that replaces the text it is attached to with a |
CarLocation |
Represents a geographical location with a latitude and a longitude. |
CarSpan |
Base class for all span types allowed for a car app. |
CarText |
A model that represents text to display in the car screen. |
CarText.Builder |
A builder of |
ClickableSpan |
A span that makes a section of text clickable. |
DateTimeWithZone |
A time with an associated time zone information. |
Distance |
Represents a distance value and how it should be displayed in the UI. |
DistanceSpan |
A span that replaces the text it is attached to with the string representation of a instance. |
DurationSpan |
A span that replaces the text it is attached to with a localized duration string. |
ForegroundCarColorSpan |
A span that changes the color of the text to which the span is attached. |
GridItem |
Represents a grid item with an image and an optional title. |
GridItem.Builder |
A builder of |
GridSection |
A section within the |
GridSection.Builder |
A builder that constructs |
GridTemplate |
A template representing a grid of items. |
GridTemplate.Builder |
A builder of |
Header |
A component that holds onto data associated with a template's header. |
Header.Builder |
A builder of |
ItemList |
Represents a list of |
ItemList.Builder |
A builder of |
ListTemplate |
A template representing a list of items. |
ListTemplate.Builder |
A builder of |
LongMessageTemplate |
A template for displaying a long text, which could be several paragraphs long, with associated actions. |
LongMessageTemplate.Builder |
A builder of |
MessageTemplate |
A template for displaying a message and associated actions. |
MessageTemplate.Builder |
A builder of |
Metadata |
A metadata class used for attaching additional properties to models. |
Metadata.Builder |
A builder for |
Pane |
Represents a list of rows used for displaying informational content and a set of |
Pane.Builder |
A builder of |
PaneTemplate |
A template that displays a |
PaneTemplate.Builder |
A builder of |
ParkedOnlyOnClickListener |
An |
Place |
Represents a geographical location and additional information on how to display it. |
Place.Builder |
A builder of |
PlaceListMapTemplate |
A template that displays a map along with a list of places. |
PlaceListMapTemplate.Builder |
A builder of |
PlaceMarker |
Describes how a place is to be displayed on a map. |
PlaceMarker.Builder |
A builder of |
Row |
Represents a row with a title, several lines of text, an optional image, and an optional action or switch. |
Row.Builder |
A builder of |
RowSection |
A section within the |
RowSection.Builder |
A builder that constructs |
SearchTemplate |
A model that allows the user to enter text searches, and can display results in a list. |
SearchTemplate.Builder |
A builder of |
Section |
The generic interface for a single section within a sectioned item template. |
Section.BaseBuilder |
Generic |
SectionedItemList |
Represents an |
SectionedItemTemplate |
A template that contains sections of items like rows, grid items, etc. |
SectionedItemTemplate.Builder |
A builder that constructs |
Tab |
Represents a tab with a title and an image. |
Tab.Builder |
A builder of |
TabContents |
Represents the contents to display for a selected tab in a |
TabContents.Builder |
A builder of |
TabTemplate |
A template representing a list of tabs and contents for the active tab. |
TabTemplate.Builder |
A builder of |
TemplateInfo |
Stores information about |
TemplateWrapper |
A wrapper for mapping a |
Toggle |
Represents a toggle that can have either a checked or unchecked state. |
Toggle.Builder |
A builder of |