public class AutoSuggestPlace extends AutoSuggest
AutoSuggestPlace
which contains information about a
suggested Place
.
Note: detailed Place
information is retrieved by way of the
PlaceRequest
returned from a call to the
getPlaceDetailsRequest()
method.
AutoSuggest.Type
m_pimpl
Modifier and Type | Method and Description |
---|---|
GeoBoundingBox |
getBoundingBox()
Gets the
GeoBoundingBox describing a range of coordinates that
correspond to the Place . |
java.lang.String |
getCategory()
Gets the category for the
Place . |
java.lang.String |
getHighlightedVicinity() |
java.lang.String |
getId() |
PlaceRequest |
getPlaceDetailsRequest()
Gets the request to retrieve the
Place details. |
GeoCoordinate |
getPosition()
Gets the
GeoCoordinate representing the geographical position of
the Place . |
java.lang.String |
getVicinity()
Gets the
String description for the vicinity of the Place
. |
java.lang.String |
toString() |
equals, getHighlightedTitle, getTitle, getType, getUrl, hashCode
public final java.lang.String getVicinity()
String
description for the vicinity of the Place
. Typically, this description is derived from the
Address
, but could also contain
any other description that helps a user understand where the
Place
is located.public final java.lang.String getHighlightedVicinity()
public final GeoCoordinate getPosition()
GeoCoordinate
representing the geographical position of
the Place
.GeoCoordinate
public final java.lang.String getCategory()
Place
.public final GeoBoundingBox getBoundingBox()
GeoBoundingBox
describing a range of coordinates that
correspond to the Place
. Typically, bounding boxes are associated
with places such as cities and countries.
Note: bounding box information for a Place
is optional, so a call
to this method could return null
.
GeoBoundingBox
containing the Place
(could be
null
)public final java.lang.String getId()
public PlaceRequest getPlaceDetailsRequest()
Place
details.PlaceRequest
to retrieve the Place
detailspublic java.lang.String toString()
toString
in class java.lang.Object