HERE Android SDK Developer's Guide

AutoSuggestPlace

The class AutoSuggestPlace is a member of com.here.android.mpa.search .

Class Summary

public class AutoSuggestPlace

extends com.here.android.mpa.search.AutoSuggest, java.lang.Object

Represents an AutoSuggestPlace which contains information about a suggested Place .

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in AutoSuggestPlace
Methods

public boolean equals (Object obj)

For documentation, see java.lang.Object

public GeoBoundingBox getBoundingBox ()

Gets the GeoBoundingBox describing a range of coordinates that correspond to the Place.

public String getCategory ()

Gets the category for the Place.

public PlaceRequest getPlaceDetailsRequest ()

Gets the request to retrieve the Place details.

public GeoCoordinate getPosition ()

Gets the GeoCoordinate representing the geographical position of the Place.

public String getVicinity ()

Gets the String description for the vicinity of the Place.

public int hashCode ()

For documentation, see java.lang.Object

Class Details

Represents an 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.

Method Details

public boolean equals (Object obj)

For documentation, see java.lang.Object

Parameters:

  • obj

public GeoBoundingBox getBoundingBox ()

Gets the 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 .

Returns:

The GeoBoundingBox containing the Place (could be null)

public String getCategory ()

Gets the category for the Place.

As category information for a suggested search is optional, so a call to this method could return an empty string.

Returns:

The Category.

public PlaceRequest getPlaceDetailsRequest ()

Gets the request to retrieve the Place details.

Returns:

The PlaceRequest to retrieve the Place details

public GeoCoordinate getPosition ()

Gets the GeoCoordinate representing the geographical position of the Place.

Returns:

The GeoCoordinate

public String getVicinity ()

Gets the 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. Note: vicinity information for a Place is optional, so a call to this method could return an empty string.

Returns:

The vicinity description (could be empty)

public int hashCode ()

For documentation, see java.lang.Object

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.