类 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.String businessStatus
    The status of the business (i.e. operational, temporarily closed, etc.).
    java.lang.String formattedAddress
    The human-readable address of this place.
    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.
    java.net.URL icon
    The URL of a recommended icon which may be displayed to the user when indicating this result.
    java.lang.String name
    The human-readable name for the returned result.
    OpeningHours openingHours
    Information on when the place is open.
    boolean permanentlyClosed
    Indicates that the place has permanently shut down.
    Photo[] photos
    Photo objects associated with this place, each containing a reference to an image.
    java.lang.String placeId
    A textual identifier that uniquely identifies a place.
    float rating
    The place's rating, from 1.0 to 5.0, based on aggregated user reviews.
    PlaceIdScope scope
    已过时。
    java.lang.String[] types
    Feature types describing the given result.
    int userRatingsTotal
    The number of user reviews for this place
    java.lang.String vicinity
    A feature name of a nearby location.
  • 构造器概要

    构造器 
    构造器 说明
    PlacesSearchResult()  
  • 方法概要

    修饰符和类型 方法 说明
    java.lang.String toString()  

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 字段详细资料

    • 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

      @Deprecated 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
    • businessStatus

      public java.lang.String businessStatus
      The status of the business (i.e. operational, temporarily closed, etc.).
  • 构造器详细资料

  • 方法详细资料

    • toString

      public java.lang.String toString()
      覆盖:
      toString 在类中 java.lang.Object