MessageInfo
@CarProtocol
public final class MessageInfo implements NavigationTemplate.NavigationInfo
Represents a message that can be shown in the NavigationTemplate.
Summary
Nested types |
|---|
public final class MessageInfo.BuilderA builder of |
Public methods |
|
|---|---|
boolean |
|
@Nullable CarIcon |
getImage()Returns the image to display along with the message or |
@Nullable CarText |
getText()Returns the text to display with the message or |
@Nullable CarText |
getTitle()Returns the title of the message or |
int |
hashCode() |
@NonNull String |
toString() |
Public methods
getImage
Added in 1.0.0
public @Nullable CarIcon getImage()
Returns the image to display along with the message or null if not set.
| See also | |
|---|---|
setImage |
getText
Added in 1.0.0
public @Nullable CarText getText()
Returns the text to display with the message or null if not set.
| See also | |
|---|---|
setText |