BannerSection


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


A section within the SectionedItemTemplate that contains a Banner.

This section is good for displaying transient, high-priority information or alerts with optional actions.

Summary

Nested types

A builder that constructs BannerSection instances.

Public functions

Boolean
equals(other: Any?)
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.

SectionHeader?

Returns the SectionHeader for this section, or null if not set.

CarText?

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

Public functions

equals

fun equals(other: Any?): Boolean

hashCode

fun hashCode(): Int

toString

fun toString(): String