Enum Class SuggestionType

java.lang.Object
java.lang.Enum<SuggestionType>
com.here.sdk.search.SuggestionType
All Implemented Interfaces:
Serializable, Comparable<SuggestionType>, Constable

public enum SuggestionType extends Enum<SuggestionType>

Specifies the type of suggestion returned for query.

  • Enum Constant Details

    • CATEGORY

      public static final SuggestionType CATEGORY

      Suggestion of category, for example restaurant, museum, hotel, etc.

    • CHAIN

      public static final SuggestionType CHAIN

      Suggestion of a business or non-business chain, for example specific supermarket or restaurant chain.

    • PLACE

      public static final SuggestionType PLACE

      Suggestion of a concrete place in the world, for example a specific restaurant, address, country, etc.

  • Method Details

    • values

      public static SuggestionType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SuggestionType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null