ChipSection


@ExperimentalCarApi
@CarProtocol
@RequiresCarApi(value = 9)
class ChipSection : Section


A section of Chips. Only 1 ChipSection is allowed in the SectionedItemTemplate.

A group of Chips that typically help a user filter a template's content down to more specific items or dynamically suggest relevant actions for a user to take.

The host may limit the number of chips displayed to ensure driver safety.

Summary

Nested types

A builder of ChipSection.

Public functions

Boolean
equals(other: Any?)
ChipStyle?

Returns the style of the section, or null if not set.

Int
String

Inherited functions

From androidx.car.app.model.Section
CarText?

Returns the optional message that should appear if there are no items added to this section.

OnItemVisibilityChangedDelegate?

Returns the OnItemVisibilityChangedDelegate to be called when the visible items in this Section changes, or null if one isn't set.

CarText?

Returns the optional text that should appear with the items in this section.

Public functions

equals

fun equals(other: Any?): Boolean

getStyle

Added in 1.8.0-beta01
fun getStyle(): ChipStyle?

Returns the style of the section, or null if not set.

hashCode

fun hashCode(): Int

toString

fun toString(): String