Header


@RequiresCarApi(value = 5)
@CarProtocol
class Header


A component that holds onto data associated with a template's header.

Summary

Nested types

A builder of Header.

Public functions

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

Returns the Actions that are set to be displayed at the end of the header, or null if not set.

Action?

Returns the Action that is set to be displayed at the start of the header, or null if not set.

CarText?

Returns the title of the component or null if not set.

Int
String

Public functions

equals

fun equals(other: Any?): Boolean

getEndHeaderActions

Added in 1.2.0
fun getEndHeaderActions(): (Mutable)List<Action!>

Returns the Actions that are set to be displayed at the end of the header, or null if not set.

getStartHeaderAction

Added in 1.2.0
fun getStartHeaderAction(): Action?

Returns the Action that is set to be displayed at the start of the header, or null if not set.

getTitle

Added in 1.2.0
fun getTitle(): CarText?

Returns the title of the component or null if not set.

See also
setTitle

hashCode

fun hashCode(): Int

toString

fun toString(): String