Place.Builder
class Place.Builder
A builder of Place.
Summary
Public constructors |
|---|
Builder(location: CarLocation)Returns a builder instance for a |
|
Returns a |
Public functions |
|
|---|---|
Place |
build()Constructs the |
Place.Builder |
setMarker(marker: PlaceMarker)Sets the |
Public constructors
Builder
Builder(location: CarLocation)
Returns a builder instance for a CarLocation.
| Parameters | |
|---|---|
location: CarLocation |
the geographical location associated with the place |
| Throws | |
|---|---|
java.lang.NullPointerException |
if |
Public functions
setMarker
fun setMarker(marker: PlaceMarker): Place.Builder
Sets the PlaceMarker that specifies how this place is to be displayed on a map.
Unless set with this method, the place will not have a marker.
| Throws | |
|---|---|
java.lang.NullPointerException |
if |