HERE Android SDK Developer's Guide

AutoSuggestFilterType

The enumeration AutoSuggestFilterType is a member of com.here.android.mpa.search.TextAutoSuggestionRequest.

Enumeration Summary

public static final enumeration TextAutoSuggestionRequest.AutoSuggestFilterType

extends java.lang.Enum, java.lang.Object

Represents values describing AutoSuggest response's result filter types that can be used to filter the AutoSuggest response.

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in AutoSuggestFilterType
Fields

public static final AutoSuggestFilterType ADDRESS

AutoSuggest response will contain Location and address suggestion result type.

public static final AutoSuggestFilterType PLACE

AutoSuggest response will contain POI suggestion result type.

public static final AutoSuggestFilterType CATEGORY

AutoSuggest response will contain Category search suggestion result type.

public static final AutoSuggestFilterType CHAIN

AutoSuggest response will contain Chain/Brand search suggestion result type.

public static final AutoSuggestFilterType QUERY

AutoSuggest response will contain Query completion suggestion result type.

Method Summary

Table 2. Methods in AutoSuggestFilterType
Methods

public static AutoSuggestFilterType valueOf (String name)

This method retrieves the enumeration value that matches the name specified by the caller.

public static TextAutoSuggestionRequest.AutoSuggestFilterType[] values ()

This method retrieves an array of constants of the given enum type in the order in which they are declared.

Enumeration Details

Represents values describing AutoSuggest response's result filter types that can be used to filter the AutoSuggest response.

Enum Constant Details

public static final AutoSuggestFilterType ADDRESS

AutoSuggest response will contain Location and address suggestion result type.

public static final AutoSuggestFilterType PLACE

AutoSuggest response will contain POI suggestion result type.

public static final AutoSuggestFilterType CATEGORY

AutoSuggest response will contain Category search suggestion result type.

public static final AutoSuggestFilterType CHAIN

AutoSuggest response will contain Chain/Brand search suggestion result type.

public static final AutoSuggestFilterType QUERY

AutoSuggest response will contain Query completion suggestion result type.

Method Details

public static AutoSuggestFilterType valueOf (String name)

This method retrieves the enumeration value that matches the name specified by the caller.

Parameters:

  • name

    A string containing the name of the enumeration member whose value is to be retrieved.

public static TextAutoSuggestionRequest.AutoSuggestFilterType[] values ()

This method retrieves an array of constants of the given enum type in the order in which they are declared.