Google se compromete a impulsar la igualdad racial para las comunidades afrodescendientes. Obtén información al respecto.

Destination

public final class Destination
extends Object

java.lang.Object
   ↳ androidx.car.app.navigation.model.Destination


A class representing information related to a destination.

Summary

Nested classes

class Destination.Builder

A builder of Destination

Public methods

boolean equals(Object other)
CarText getAddress()

Returns the address of the destination or null if not set.

CarIcon getImage()

Returns an image to display with the destination or null if not set.

CarText getName()

Returns the name of the destination or null if not set.

int hashCode()
String toString()

Inherited methods

Public methods

equals

public boolean equals (Object other)

Parameters
other Object

Returns
boolean

getAddress

public CarText getAddress ()

Returns the address of the destination or null if not set.

Returns
CarText

getImage

public CarIcon getImage ()

Returns an image to display with the destination or null if not set.

Returns
CarIcon

getName

public CarText getName ()

Returns the name of the destination or null if not set.

Returns
CarText

hashCode

public int hashCode ()

Returns
int

toString

public String toString ()

Returns
String