Package com.google.maps.model
Class PlacesSearchResult
- java.lang.Object
-
- com.google.maps.model.PlacesSearchResult
-
- All Implemented Interfaces:
java.io.Serializable
public class PlacesSearchResult extends java.lang.Object implements java.io.SerializableA single result in the search results returned from the Google Places API Web Service.Please see Place Search Results for more detail.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringformattedAddressThe human-readable address of this place.GeometrygeometryGeometry information about the result, generally including the location (geocode) of the place and (optionally) the viewport identifying its general area of coverage.java.net.URLiconThe URL of a recommended icon which may be displayed to the user when indicating this result.java.lang.StringnameThe human-readable name for the returned result.OpeningHoursopeningHoursInformation on when the place is open.booleanpermanentlyClosedIndicates that the place has permanently shut down.Photo[]photosPhoto objects associated with this place, each containing a reference to an image.java.lang.StringplaceIdA textual identifier that uniquely identifies a place.floatratingThe place's rating, from 1.0 to 5.0, based on aggregated user reviews.PlaceIdScopescopeThe scope of the placeId.java.lang.String[]typesFeature types describing the given result.intuserRatingsTotalThe number of user reviews for this placejava.lang.StringvicinityA feature name of a nearby location.
-
Constructor Summary
Constructors Constructor Description PlacesSearchResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()
-
-
-
Field Detail
-
formattedAddress
public java.lang.String formattedAddress
The human-readable address of this place.
-
geometry
public Geometry geometry
Geometry information about the result, generally including the location (geocode) of the place and (optionally) the viewport identifying its general area of coverage.
-
name
public java.lang.String name
The human-readable name for the returned result. For establishment results, this is usually the business name.
-
icon
public java.net.URL icon
The URL of a recommended icon which may be displayed to the user when indicating this result.
-
placeId
public java.lang.String placeId
A textual identifier that uniquely identifies a place.
-
scope
public PlaceIdScope scope
The scope of the placeId.
-
rating
public float rating
The place's rating, from 1.0 to 5.0, based on aggregated user reviews.
-
types
public java.lang.String[] types
Feature types describing the given result.
-
openingHours
public OpeningHours openingHours
Information on when the place is open.
-
photos
public Photo[] photos
Photo objects associated with this place, each containing a reference to an image.
-
vicinity
public java.lang.String vicinity
A feature name of a nearby location.
-
permanentlyClosed
public boolean permanentlyClosed
Indicates that the place has permanently shut down.
-
userRatingsTotal
public int userRatingsTotal
The number of user reviews for this place
-
-