Destination
@CarProtocol
public final class Destination
A class representing information related to a destination.
Summary
Nested types |
|---|
public final class Destination.BuilderA builder of |
Public methods |
|
|---|---|
boolean |
|
@Nullable CarText |
Returns the address of the destination or |
@Nullable CarIcon |
getImage()Returns an image to display with the destination or |
@Nullable CarText |
getName()Returns the name of the destination or |
int |
hashCode() |
@NonNull String |
toString() |
Public methods
getAddress
Added in 1.0.0
public @Nullable CarText getAddress()
Returns the address of the destination or null if not set.
| See also | |
|---|---|
setAddress |
getImage
Added in 1.0.0
public @Nullable CarIcon getImage()
Returns an image to display with the destination or null if not set.
| See also | |
|---|---|
setImage |