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.Builder

A builder of MessageInfo.

Public methods

boolean
@Nullable CarIcon

Returns the image to display along with the message or null if not set.

@Nullable CarText

Returns the text to display with the message or null if not set.

@Nullable CarText

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

int
@NonNull String

Public methods

equals

public boolean equals(@Nullable Object other)

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

getTitle

Added in 1.0.0
public @Nullable CarText getTitle()

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

See also
setTitle

hashCode

public int hashCode()

toString

public @NonNull String toString()