MessageInfo
public
final
class
MessageInfo
extends Object
implements
NavigationTemplate.NavigationInfo
java.lang.Object | |
↳ | androidx.car.app.navigation.model.MessageInfo |
Represents a message that can be shown in the NavigationTemplate
.
Summary
Nested classes | |
---|---|
class |
MessageInfo.Builder
A builder of |
Public methods | |
---|---|
boolean
|
equals(Object other)
|
CarIcon
|
getImage()
Returns the image to display along with the message or |
CarText
|
getText()
Returns the text to display with the message or |
CarText
|
getTitle()
Returns the title of the message or |
int
|
hashCode()
|
String
|
toString()
|
Inherited methods | |
---|---|
Public methods
equals
public boolean equals (Object other)
Parameters | |
---|---|
other |
Object |
Returns | |
---|---|
boolean |
getImage
public CarIcon getImage ()
Returns the image to display along with the message or null
if not set.
Returns | |
---|---|
CarIcon |
See also:
getText
public CarText getText ()
Returns the text to display with the message or null
if not set.
Returns | |
---|---|
CarText |
getTitle
public CarText getTitle ()
Returns the title of the message or null
if not set.
Returns | |
---|---|
CarText |
hashCode
public int hashCode ()
Returns | |
---|---|
int |
toString
public String toString ()
Returns | |
---|---|
String |
Content and code samples on this page are subject to the licenses described in the Content License. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-02-24 UTC.