MessageInfo

public class MessageInfo
extends Object implements NavigationTemplate.NavigationInfo

java.lang.Object
   ↳ com.google.android.libraries.car.app.navigation.model.MessageInfo


Represents a message that can be shown in the NavigationTemplate.

Summary

Nested classes

class MessageInfo.Builder

A builder of MessageInfo

Public methods

static MessageInfo.Builder builder(CharSequence title)

Constructs a new builder of MessageInfo.

boolean equals(Object other)
int hashCode()
String toString()

Inherited methods

Public methods

builder

public static MessageInfo.Builder builder (CharSequence title)

Constructs a new builder of MessageInfo.

Parameters
title CharSequence

Returns
MessageInfo.Builder

Throws
NullPointerException if title is null.

equals

public boolean equals (Object other)

Parameters
other Object

Returns
boolean

hashCode

public int hashCode ()

Returns
int

toString

public String toString ()

Returns
String