Place

@CarProtocol
public final class Place


Represents a geographical location and additional information on how to display it.

Summary

Nested types

public final class Place.Builder

A builder of Place.

Public methods

boolean
@NonNull CarLocation

Returns the CarLocation instance associated with this place.

@Nullable PlaceMarker

Returns the PlaceMarker object associated with this place or null if one is not set.

int
@NonNull String

Public methods

equals

Added in 1.4.0-rc02
public boolean equals(@Nullable Object other)

getLocation

Added in 1.0.0
public @NonNull CarLocation getLocation()

Returns the CarLocation instance associated with this place.

See also
Builder

getMarker

Added in 1.0.0
public @Nullable PlaceMarker getMarker()

Returns the PlaceMarker object associated with this place or null if one is not set.

See also
setMarker

hashCode

Added in 1.4.0-rc02
public int hashCode()

toString

Added in 1.4.0-rc02
public @NonNull String toString()