类 PlacesSearchResult
java.lang.Object
ai.nextbillion.maps.model.PlacesSearchResult
- 所有已实现的接口:
java.io.Serializable
public class PlacesSearchResult
extends java.lang.Object
implements java.io.Serializable
A single result in the search results returned from the Google Places API Web Service.
Please see Place Search Results for more detail.
- 另请参阅:
- 序列化表格
-
字段概要
字段 修饰符和类型 字段 说明 java.lang.StringbusinessStatusThe status of the business (i.e. operational, temporarily closed, etc.).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.PlaceIdScopescope已过时。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. -
构造器概要
构造器 构造器 说明 PlacesSearchResult() -
方法概要
修饰符和类型 方法 说明 java.lang.StringtoString()
-
字段详细资料
-
formattedAddress
public java.lang.String formattedAddressThe human-readable address of this place. -
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 nameThe human-readable name for the returned result. For establishment results, this is usually the business name. -
icon
public java.net.URL iconThe URL of a recommended icon which may be displayed to the user when indicating this result. -
placeId
public java.lang.String placeIdA textual identifier that uniquely identifies a place. -
scope
已过时。The scope of the placeId. -
rating
public float ratingThe place's rating, from 1.0 to 5.0, based on aggregated user reviews. -
types
public java.lang.String[] typesFeature types describing the given result. -
openingHours
Information on when the place is open. -
photos
Photo objects associated with this place, each containing a reference to an image. -
vicinity
public java.lang.String vicinityA feature name of a nearby location. -
permanentlyClosed
public boolean permanentlyClosedIndicates that the place has permanently shut down. -
userRatingsTotal
public int userRatingsTotalThe number of user reviews for this place -
businessStatus
public java.lang.String businessStatusThe status of the business (i.e. operational, temporarily closed, etc.).
-
-
构造器详细资料
-
PlacesSearchResult
public PlacesSearchResult()
-
-
方法详细资料
-
toString
public java.lang.String toString()- 覆盖:
toString在类中java.lang.Object
-