类 PlaceDetails
java.lang.Object
ai.nextbillion.maps.model.PlaceDetails
- 所有已实现的接口:
java.io.Serializable
public class PlaceDetails
extends java.lang.Object
implements java.io.Serializable
The result of a Place Details request. A Place Details request returns more comprehensive
information about the indicated place such as its complete address, phone number, user rating,
and reviews.
See Place Details Results for more detail.
- 另请参阅:
- 序列化表格
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classPlaceDetails.AlternatePlaceIds已过时。static classPlaceDetails.Review -
字段概要
字段 修饰符和类型 字段 说明 AddressComponent[]addressComponentsA list of separate address components that comprise the address of this place.java.lang.StringadrAddressA representation of the place's address in the adr microformat.PlaceDetails.AlternatePlaceIds[]altIdsAn optional array of alternative place IDs for the place, with a scope related to each alternative ID.java.lang.StringbusinessStatusThe status of the business (i.e. operational, temporarily closed, etc.).java.lang.StringformattedAddressThe human-readable address of this place.java.lang.StringformattedPhoneNumberThe place's phone number in its local format.GeometrygeometryThe location of the Place.java.lang.String[]htmlAttributionsAttributions about this listing which must be displayed to the user.java.net.URLiconThe URL of a suggested icon which may be displayed to the user when indicating this result on a map.java.lang.StringinternationalPhoneNumberThe place's phone number in international format.java.lang.StringnameThe human-readable name for the returned result.OpeningHoursopeningHoursThe opening hours for the place.booleanpermanentlyClosedWhether the place has permanently closed.Photo[]photosA list of photos associated with this place, each containing a reference to an image.java.lang.StringplaceIdA textual identifier that uniquely identifies this place.PlusCodeplusCodeThe Plus Code location identifier for this place.PriceLevelpriceLevelThe price level of the place.floatratingThe place's rating, from 1.0 to 5.0, based on aggregated user reviews.PlaceDetails.Review[]reviewsAn array of up to five reviews.PlaceIdScopescope已过时。AddressType[]typesFeature types describing the given result.java.net.URLurlThe URL of the official Google page for this place.intuserRatingsTotalThe number of user reviews for this placeintutcOffsetThe number of minutes this place’s current timezone is offset from UTC.java.lang.StringvicinityA simplified address for the place, including the street name, street number, and locality, but not the province/state, postal code, or country.java.net.URLwebsiteThe authoritative website for this place, such as a business's homepage. -
构造器概要
构造器 构造器 说明 PlaceDetails() -
方法概要
修饰符和类型 方法 说明 java.lang.StringtoString()
-
字段详细资料
-
addressComponents
A list of separate address components that comprise the address of this place. -
adrAddress
public java.lang.String adrAddressA representation of the place's address in the adr microformat. -
formattedAddress
public java.lang.String formattedAddressThe human-readable address of this place. -
formattedPhoneNumber
public java.lang.String formattedPhoneNumberThe place's phone number in its local format. -
geometry
The location of the Place. -
icon
public java.net.URL iconThe URL of a suggested icon which may be displayed to the user when indicating this result on a map. -
internationalPhoneNumber
public java.lang.String internationalPhoneNumberThe place's phone number in international format. International format includes the country code, and is prefixed with the plus (+) sign. -
name
public java.lang.String nameThe human-readable name for the returned result. -
openingHours
The opening hours for the place. -
photos
A list of photos associated with this place, each containing a reference to an image. -
placeId
public java.lang.String placeIdA textual identifier that uniquely identifies this place. -
scope
已过时。The scope of the placeId. -
plusCode
The Plus Code location identifier for this place. -
permanentlyClosed
public boolean permanentlyClosedWhether the place has permanently closed. -
userRatingsTotal
public int userRatingsTotalThe number of user reviews for this place -
altIds
An optional array of alternative place IDs for the place, with a scope related to each alternative ID. -
priceLevel
The price level of the place. The exact amount indicated by a specific value will vary from region to region. -
rating
public float ratingThe place's rating, from 1.0 to 5.0, based on aggregated user reviews. -
reviews
An array of up to five reviews. If a language parameter was specified in the Place Details request, the Places Service will bias the results to prefer reviews written in that language. -
types
Feature types describing the given result. -
url
public java.net.URL urlThe URL of the official Google page for this place. This will be the establishment's Google+ page if the Google+ page exists, otherwise it will be the Google-owned page that contains the best available information about the place. Applications must link to or embed this page on any screen that shows detailed results about the place to the user. -
utcOffset
public int utcOffsetThe number of minutes this place’s current timezone is offset from UTC. -
vicinity
public java.lang.String vicinityA simplified address for the place, including the street name, street number, and locality, but not the province/state, postal code, or country. -
website
public java.net.URL websiteThe authoritative website for this place, such as a business's homepage. -
htmlAttributions
public java.lang.String[] htmlAttributionsAttributions about this listing which must be displayed to the user. -
businessStatus
public java.lang.String businessStatusThe status of the business (i.e. operational, temporarily closed, etc.).
-
-
构造器详细资料
-
PlaceDetails
public PlaceDetails()
-
-
方法详细资料
-
toString
public java.lang.String toString()- 覆盖:
toString在类中java.lang.Object
-