ActionStrip

@CarProtocol
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

A builder of ActionStrip.

Public functions

Boolean
equals(other: Any?)
(Mutable)List<Action!>

Returns the list of Actions in the strip.

Action?

Returns the first Action associated with the input actionType or null if no matching Action is found.

Int
String

Public functions

equals

Added in 1.4.0-rc02
fun equals(other: Any?): Boolean

getActions

Added in 1.0.0
fun getActions(): (Mutable)List<Action!>

Returns the list of Actions in the strip.

See also
addAction

getFirstActionOfType

Added in 1.0.0
fun getFirstActionOfType(actionType: Int): Action?

Returns the first Action associated with the input actionType or null if no matching Action is found.

hashCode

Added in 1.4.0-rc02
fun hashCode(): Int

toString

Added in 1.4.0-rc02
fun toString(): String