ActionStrip
@CarProtocol
public final class ActionStrip
Represents a list of Actions that are used for a template.
The Actions in the ActionStrip may be displayed differently depending on the template they are used with. For example, a map template may display them as a group of floating action buttons (FABs) over the map background.
See the documentation of individual Templates on restrictions around what actions are supported.
Summary
Nested types |
|---|
public final class ActionStrip.BuilderA builder of |
Public methods |
|
|---|---|
boolean |
|
@NonNull List<Action> |
Returns the list of |
@Nullable Action |
getFirstActionOfType(int actionType)Returns the first |
int |
hashCode() |
@NonNull String |
toString() |
Public methods
getActions
public @NonNull List<Action> getActions()
Returns the list of Actions in the strip.
| See also | |
|---|---|
addAction |