HERE Android SDK Developer's Guide

AutoSuggestQuery

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

Class Summary

public final class AutoSuggestQuery

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

Represents an AutoSuggest with suggested completion of the given string

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in AutoSuggestQuery
Methods

public boolean equals (Object obj)

For documentation, see java.lang.Object

public String getQueryCompletion ()

Gets the completion for the query.

public TextAutoSuggestionRequest getRequest ()

Gets the request to retrieve the AutoSuggest list.

public int hashCode ()

For documentation, see java.lang.Object

Class Details

Represents an AutoSuggest with suggested completion of the given string

Note: List of AutoSuggest can be retrieved by call to the getRequest() method.

Method Details

public boolean equals (Object obj)

For documentation, see java.lang.Object

Parameters:

  • obj

public String getQueryCompletion ()

Gets the completion for the query.

Returns:

completion

public TextAutoSuggestionRequest getRequest ()

Gets the request to retrieve the AutoSuggest list.

Returns:

The TextAutoSuggestionRequest to retrieve the AutoSuggest list

public int hashCode ()

For documentation, see java.lang.Object