Header
@RequiresCarApi(value = 5)
@CarProtocol
public final class Header
A component that holds onto data associated with a template's header.
Summary
Nested types |
|---|
public final class Header.BuilderA builder of |
Public methods |
|
|---|---|
boolean |
|
@NonNull List<Action> |
Returns the |
@Nullable Action |
Returns the |
@Nullable CarText |
getTitle()Returns the title of the component or |
int |
hashCode() |
@NonNull String |
toString() |
Public methods
getEndHeaderActions
Added in 1.2.0
public @NonNull List<Action> getEndHeaderActions()
Returns the Actions that are set to be displayed at the end of the header, or null if not set.
| See also | |
|---|---|
addEndHeaderAction |
getStartHeaderAction
Added in 1.2.0
public @Nullable Action getStartHeaderAction()
Returns the Action that is set to be displayed at the start of the header, or null if not set.
| See also | |
|---|---|
setStartHeaderAction |