public class PlacesSearchResult
extends java.lang.Object
Please see Place Search Results for more detail.
Modifier and Type | Field and Description |
---|---|
java.lang.String |
formattedAddress
formattedAddress is a string containing the human-readable address of this place.
|
Geometry |
geometry
geometry contains geometry information about the result, generally including the location (geocode) of the place
and (optionally) the viewport identifying its general area of coverage.
|
java.net.URL |
icon
icon contains the URL of a recommended icon which may be displayed to the user when indicating this result.
|
java.lang.String |
name
name contains the human-readable name for the returned result.
|
OpeningHours |
openingHours
openingHours may contain whether the place is open now or not.
|
Photo[] |
photos
photos is an array of photo objects, each containing a reference to an image.
|
java.lang.String |
placeId
placeId is a textual identifier that uniquely identifies a place.
|
float |
rating
rating contains the place's rating, from 1.0 to 5.0, based on aggregated user reviews.
|
PlaceIdScope |
scope
scope indicates the scope of the placeId.
|
java.lang.String[] |
types
types contains an array of feature types describing the given result.
|
java.lang.String |
vicinity
vicinity contains a feature name of a nearby location.
|
Constructor and Description |
---|
PlacesSearchResult() |
public java.lang.String formattedAddress
public Geometry geometry
public java.lang.String name
public java.net.URL icon
public java.lang.String placeId
public PlaceIdScope scope
public float rating
public java.lang.String[] types
public OpeningHours openingHours
public Photo[] photos
public java.lang.String vicinity