HERE Android SDK Developer's Guide

AutoSuggestSearch

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

Class Summary

public class AutoSuggestSearch

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

Represents an AutoSuggestSearch which contains information about a refined search link.

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in AutoSuggestSearch
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 suggested search.

public GeoCoordinate getPosition ()

Gets the GeoCoordinate representing the geographical position of the suggested search.

public DiscoveryRequest getSuggestedSearchRequest ()

Gets the request to perform a suggested search.

public int hashCode ()

For documentation, see java.lang.Object

Class Details

Represents an AutoSuggestSearch which contains information about a refined search link.

Note: DiscoveryResultPage is retrieved by way of the DiscoveryRequest returned from a call to the getSuggestedSearchRequest() 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 suggested search is optional, so a call to this method could return null .

Returns:

The GeoBoundingBox

public String getCategory ()

Gets the category for the suggested search.

Note: category information for a suggested search is optional, so a call to this method could return null .

Returns:

The Category

public GeoCoordinate getPosition ()

Gets the GeoCoordinate representing the geographical position of the suggested search.

Note: position information for a suggested search is optional, so a call to this method could return null .

Returns:

The GeoCoordinate

public DiscoveryRequest getSuggestedSearchRequest ()

Gets the request to perform a suggested search.

Returns:

The DiscoveryRequest to retrieve the DiscoveryResultPage

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.