# androidx.car.app.model

*** ** * ** ***

## Interfaces

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/AlertCallback` | A listener of dismiss events. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/AlertCallbackDelegate` | A host-side interface for reporting cancel events to clients. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/Content` | Interface implemented by models that can be invalidated and refreshed individually. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/InputCallback` | A listener for handling text input completion event. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/InputCallbackDelegate` | A host-side delegate for sending `https://developer.android.com/reference/kotlin/androidx/car/app/model/InputCallback` events to the car app. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/Item` | Interface implemented by models that can be added to an `https://developer.android.com/reference/kotlin/androidx/car/app/model/ItemList`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/ItemList.OnItemVisibilityChangedListener` | A listener for handling item visibility changes. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/ItemList.OnSelectedListener` | A listener for handling selection events for lists with selectable items. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/OnCheckedChangeDelegate` | A host-side delegate for sending `https://developer.android.com/reference/kotlin/androidx/car/app/model/Toggle.OnCheckedChangeListener` events to the car app. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/OnClickDelegate` | A host-side interface for reporting click to clients. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/OnClickListener` | A listener of click events. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/OnContentRefreshDelegate` | A host-side delegate for sending `https://developer.android.com/reference/kotlin/androidx/car/app/model/OnContentRefreshListener` events to the car app. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/OnContentRefreshListener` | A listener of content refresh requests |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/OnItemVisibilityChangedDelegate` | A host-side delegate for sending `https://developer.android.com/reference/kotlin/androidx/car/app/model/ItemList.OnItemVisibilityChangedListener` events to the car app. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/OnSelectedDelegate` | A host-side delegate for sending `https://developer.android.com/reference/kotlin/androidx/car/app/model/ItemList.OnSelectedListener` events to the car app. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/SearchCallbackDelegate` | A host-side delegate for sending `https://developer.android.com/reference/kotlin/androidx/car/app/model/SearchTemplate.SearchCallback` events to the car app. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/SearchTemplate.SearchCallback` | A listener for search updates. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/TabCallbackDelegate` | A host-side delegate for sending `https://developer.android.com/reference/kotlin/androidx/car/app/model/TabTemplate.TabCallback` events to the car app. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/TabTemplate.TabCallback` | A listener for tab selection. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/Template` | An interface used to denote a model that can act as a root for a tree of other models. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/Toggle.OnCheckedChangeListener` | A listener for handling checked state change events. |

## Classes

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/Action` | Represents an action with an optional icon and text. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/Action.Builder` | A builder of `https://developer.android.com/reference/kotlin/androidx/car/app/model/Action`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/ActionStrip` | Represents a list of `https://developer.android.com/reference/kotlin/androidx/car/app/model/Action`s that are used for a template. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/ActionStrip.Builder` | A builder of `https://developer.android.com/reference/kotlin/androidx/car/app/model/ActionStrip`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/Alert` | Represents an alert with an optional icon, subtitle and actions. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/Alert.Builder` | A builder of `https://developer.android.com/reference/kotlin/androidx/car/app/model/Alert`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/Background` | A background for a user interface component. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/Background.Builder` | A builder of `https://developer.android.com/reference/kotlin/androidx/car/app/model/Background`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/Badge` | Represents a badge that can be displayed as an overlay on top of an image. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/Badge.Builder` | A builder of `https://developer.android.com/reference/kotlin/androidx/car/app/model/Badge`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/Banner` | A banner element that's meant to be visually distinct from other normal elements on the screen. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/Banner.Builder` | A builder of `https://developer.android.com/reference/kotlin/androidx/car/app/model/Banner`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/BannerSection` | A section within the `SectionedItemTemplate` that contains a `https://developer.android.com/reference/kotlin/androidx/car/app/model/Banner`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/BannerSection.Builder` | A builder that constructs `https://developer.android.com/reference/kotlin/androidx/car/app/model/BannerSection` instances. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/CarColor` | Represents a color to be used in a car app. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/CarIcon` | Represents an icon to be used in a car app. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/CarIcon.Builder` | A builder of `https://developer.android.com/reference/kotlin/androidx/car/app/model/CarIcon`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/CarIconSpan` | A span that replaces the text it is attached to with a `https://developer.android.com/reference/kotlin/androidx/car/app/model/CarIcon` that is aligned with the surrounding text. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/CarLocation` | Represents a geographical location with a latitude and a longitude. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/CarProgressBar` | A model that represents a progress bar to display in the car screen. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/CarProgressBar.Builder` | A builder of `https://developer.android.com/reference/kotlin/androidx/car/app/model/CarProgressBar`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/CarSpan` | Base class for all span types allowed for a car app. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/CarText` | A model that represents text to display in the car screen. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/CarText.Builder` | A builder of `https://developer.android.com/reference/kotlin/androidx/car/app/model/CarText`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/Chip` | A Chip is a toggle-like button with text and/or leading/trailing icon(s). |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/Chip.Builder` | A builder of `https://developer.android.com/reference/kotlin/androidx/car/app/model/Chip`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/ChipSection` | A section of `https://developer.android.com/reference/kotlin/androidx/car/app/model/Chip`s. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/ChipSection.Builder` | A builder of `https://developer.android.com/reference/kotlin/androidx/car/app/model/ChipSection`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/ChipStyle` | Defines the visual style of a `https://developer.android.com/reference/kotlin/androidx/car/app/model/Chip`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/ChipStyle.Builder` | A builder of `https://developer.android.com/reference/kotlin/androidx/car/app/model/ChipStyle`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/ClickableSpan` | A span that makes a section of text clickable. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/CondensedItem` | A main UI component representing an item in a condensed format. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/CondensedItem.Builder` | A builder for `https://developer.android.com/reference/kotlin/androidx/car/app/model/CondensedItem`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/CondensedItemStyle` | Holds properties related ONLY to the visual container around a `https://developer.android.com/reference/kotlin/androidx/car/app/model/CondensedItem`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/CondensedItemStyle.Builder` | A builder for `https://developer.android.com/reference/kotlin/androidx/car/app/model/CondensedItemStyle`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/CondensedSection` | A `https://developer.android.com/reference/kotlin/androidx/car/app/model/Section` within the `SectionedItemTemplate` that contains `https://developer.android.com/reference/kotlin/androidx/car/app/model/CondensedItem`s. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/CondensedSection.Builder` | A builder for `https://developer.android.com/reference/kotlin/androidx/car/app/model/CondensedSection`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/DateTimeWithZone` | A time with an associated time zone information. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/Distance` | Represents a distance value and how it should be displayed in the UI. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/DistanceSpan` | A span that replaces the text it is attached to with the string representation of a `https://developer.android.com/reference/kotlin/androidx/car/app/model/Distance` instance. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/DurationSpan` | A span that replaces the text it is attached to with a localized duration string. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/ForegroundCarColorSpan` | A span that changes the color of the text to which the span is attached. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/GridItem` | Represents a grid item with an image and an optional title. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/GridItem.Builder` | A builder of `https://developer.android.com/reference/kotlin/androidx/car/app/model/GridItem`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/GridSection` | A section within the `SectionedItemTemplate` that contains `https://developer.android.com/reference/kotlin/androidx/car/app/model/GridItem`s - good for showcase large artwork or images for every entry. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/GridSection.Builder` | A builder that constructs `https://developer.android.com/reference/kotlin/androidx/car/app/model/GridSection` instances. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/GridTemplate` | A template representing a grid of items. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/GridTemplate.Builder` | A builder of `https://developer.android.com/reference/kotlin/androidx/car/app/model/GridTemplate`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/Header` | A component that holds onto data associated with a template's header. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/Header.Builder` | A builder of `https://developer.android.com/reference/kotlin/androidx/car/app/model/Header`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/ItemList` | Represents a list of `https://developer.android.com/reference/kotlin/androidx/car/app/model/Item` instances. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/ItemList.Builder` | A builder of `https://developer.android.com/reference/kotlin/androidx/car/app/model/ItemList`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/ListTemplate` | A template representing a list of items. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/ListTemplate.Builder` | A builder of `https://developer.android.com/reference/kotlin/androidx/car/app/model/ListTemplate`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/LongMessageTemplate` | A template for displaying a long text, which could be several paragraphs long, with associated actions. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/LongMessageTemplate.Builder` | A builder of `https://developer.android.com/reference/kotlin/androidx/car/app/model/LongMessageTemplate`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/MessageTemplate` | A template for displaying a message and associated actions. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/MessageTemplate.Builder` | A builder of `https://developer.android.com/reference/kotlin/androidx/car/app/model/MessageTemplate`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/Metadata` | A metadata class used for attaching additional properties to models. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/Metadata.Builder` | A builder for `https://developer.android.com/reference/kotlin/androidx/car/app/model/Metadata`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/Pane` | Represents a list of rows used for displaying informational content and a set of `https://developer.android.com/reference/kotlin/androidx/car/app/model/Action`s that users can perform based on such content. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/Pane.Builder` | A builder of `https://developer.android.com/reference/kotlin/androidx/car/app/model/Pane`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/PaneTemplate` | A template that displays a `https://developer.android.com/reference/kotlin/androidx/car/app/model/Pane`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/PaneTemplate.Builder` | A builder of `https://developer.android.com/reference/kotlin/androidx/car/app/model/PaneTemplate`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/ParkedOnlyOnClickListener` | An `https://developer.android.com/reference/kotlin/androidx/car/app/model/OnClickListener` that wraps another one and executes its `https://developer.android.com/reference/kotlin/androidx/car/app/model/ParkedOnlyOnClickListener#onClick()` method only when the car is parked. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/Place` | Represents a geographical location and additional information on how to display it. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/Place.Builder` | A builder of `https://developer.android.com/reference/kotlin/androidx/car/app/model/Place`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/PlaceListMapTemplate` | A template that displays a map along with a list of places. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/PlaceListMapTemplate.Builder` | A builder of `https://developer.android.com/reference/kotlin/androidx/car/app/model/PlaceListMapTemplate`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/PlaceMarker` | Describes how a place is to be displayed on a map. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/PlaceMarker.Builder` | A builder of `https://developer.android.com/reference/kotlin/androidx/car/app/model/PlaceMarker`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/Row` | Represents a row with a title, several lines of text, an optional image, and an optional action or switch. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/Row.Builder` | A builder of `https://developer.android.com/reference/kotlin/androidx/car/app/model/Row`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/RowSection` | A section within the `SectionedItemTemplate` that contains `https://developer.android.com/reference/kotlin/androidx/car/app/model/Row`s - good for showcasing small icons and longer text for every entry. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/RowSection.Builder` | A builder that constructs `https://developer.android.com/reference/kotlin/androidx/car/app/model/RowSection` instances. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/SearchTemplate` | A model that allows the user to enter text searches, and can display results in a list. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/SearchTemplate.Builder` | A builder of `https://developer.android.com/reference/kotlin/androidx/car/app/model/SearchTemplate`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/Section` | The generic interface for a single section within a sectioned item template. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/Section.BaseBuilder` | Generic `https://developer.android.com/reference/kotlin/androidx/car/app/model/Section` builder that contains the fields that all sections share. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/SectionHeader` | Represents a header for a section within a `https://developer.android.com/reference/kotlin/androidx/car/app/model/SectionedItemTemplate`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/SectionHeader.Builder` | A builder of `https://developer.android.com/reference/kotlin/androidx/car/app/model/SectionHeader`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/SectionedItemList` | Represents an `https://developer.android.com/reference/kotlin/androidx/car/app/model/ItemList` that is contained inside a section. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/SectionedItemTemplate` | A template that contains sections of items like rows, grid items, chips, etc. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/SectionedItemTemplate.Builder` | A builder that constructs `https://developer.android.com/reference/kotlin/androidx/car/app/model/SectionedItemTemplate` instances. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/Shape` | A primitive defining container shapes. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/SpotlightSection` | A section within the `https://developer.android.com/reference/kotlin/androidx/car/app/model/SectionedItemTemplate` that contains a single image and multiple `https://developer.android.com/reference/kotlin/androidx/car/app/model/CondensedItem`s. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/SpotlightSection.Builder` | A builder of `https://developer.android.com/reference/kotlin/androidx/car/app/model/SpotlightSection`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/Tab` | Represents a tab with a title and an image. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/Tab.Builder` | A builder of `https://developer.android.com/reference/kotlin/androidx/car/app/model/Tab`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/TabContents` | Represents the contents to display for a selected tab in a `https://developer.android.com/reference/kotlin/androidx/car/app/model/TabTemplate`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/TabContents.Builder` | A builder of `https://developer.android.com/reference/kotlin/androidx/car/app/model/TabContents`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/TabTemplate` | A template representing a list of tabs and contents for the active tab. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/TabTemplate.Builder` | A builder of `https://developer.android.com/reference/kotlin/androidx/car/app/model/TabTemplate`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/TemplateInfo` | Stores information about `https://developer.android.com/reference/kotlin/androidx/car/app/model/Template` returned from a `https://developer.android.com/reference/kotlin/androidx/car/app/Screen`. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/TemplateWrapper` | A wrapper for mapping a `https://developer.android.com/reference/kotlin/androidx/car/app/model/Template` with a unique ID used for implementing task flow restrictions. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/TimerSpan` | A `https://developer.android.com/reference/kotlin/androidx/car/app/model/CarSpan` that represents a timer. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/Toggle` | Represents a toggle that can have either a checked or unchecked state. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/Toggle.Builder` | A builder of `https://developer.android.com/reference/kotlin/androidx/car/app/model/Toggle`. |