Place
public
class
Place
extends Object
java.lang.Object | |
↳ | com.google.android.libraries.car.app.model.Place |
Represents a geographical location and additional information on how to display it.
Summary
Nested classes | |
---|---|
class |
Place.Builder
A builder of |
Public methods | |
---|---|
static
Place.Builder
|
builder(LatLng latLng)
Create a builder for a |
boolean
|
equals(Object other)
|
LatLng
|
getLatLng()
|
PlaceMarker
|
getMarker()
|
int
|
hashCode()
|
Place.Builder
|
newBuilder()
Returns a |
String
|
toString()
|
Inherited methods | |
---|---|
Public methods
builder
public static Place.Builder builder (LatLng latLng)
Create a builder for a Place
instance.
Parameters | |
---|---|
latLng |
LatLng : the geographical location associated with the place. |
Returns | |
---|---|
Place.Builder |
Throws | |
---|---|
NullPointerException |
if latLng is null .
|
hashCode
public int hashCode ()
Returns | |
---|---|
int |
newBuilder
public Place.Builder newBuilder ()
Returns a Place.Builder
instance with the same data as this Place
instance.
Returns | |
---|---|
Place.Builder |
Content and code samples on this page are subject to the licenses described in the Content License. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-10-15 UTC.