LongMessageTemplate
@RequiresCarApi(value = 2)
@CarProtocol
class LongMessageTemplate : Template
A template for displaying a long text, which could be several paragraphs long, with associated actions.
Template Restrictions This template's body is only available to the user while the car is parked and does not count against the template quota.| See also | |
|---|---|
onGetTemplate |
Summary
Nested types |
|---|
@RequiresCarApi(value = 2)A builder of |
Public functions |
|
|---|---|
Boolean |
|
ActionStrip? |
Returns the |
(Mutable)List<Action!> |
Returns the list of actions to display in the template. |
Action? |
Returns the |
CarText |
Returns the message to display in the template, which could be several paragraphs long. |
CarText? |
getTitle()Returns the title of the template or |
Int |
hashCode() |
String |
toString() |
Public functions
getActionStrip
fun getActionStrip(): ActionStrip?
Returns the ActionStrip for this template or null if not set.
| See also | |
|---|---|
setActionStrip |
getActions
fun getActions(): (Mutable)List<Action!>
Returns the list of actions to display in the template.
| See also | |
|---|---|
addAction |
getHeaderAction
fun getHeaderAction(): Action?
Returns the Action that is set to be displayed in the header of the template, or null if not set.
| See also | |
|---|---|
setHeaderAction |
getMessage
fun getMessage(): CarText
Returns the message to display in the template, which could be several paragraphs long.
| See also | |
|---|---|
Builder |