Destination


@CarProtocol
class Destination


A class representing information related to a destination.

Summary

Nested types

A builder of Destination.

Public functions

Boolean
equals(other: Any?)
CarText?

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

CarIcon?

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

CarText?

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

Int
String

Public functions

equals

fun equals(other: Any?): Boolean

getAddress

Added in 1.0.0
fun getAddress(): CarText?

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

See also
setAddress

getImage

Added in 1.0.0
fun getImage(): CarIcon?

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

See also
setImage

getName

Added in 1.0.0
fun getName(): CarText?

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

See also
setName

hashCode

fun hashCode(): Int

toString

fun toString(): String