Package com.mapfactor.sdk.search
Enum Class SearchResultsListener.SearchErrorCode
java.lang.Object
java.lang.Enum<SearchResultsListener.SearchErrorCode>
com.mapfactor.sdk.search.SearchResultsListener.SearchErrorCode
- All Implemented Interfaces:
Serializable
,Comparable<SearchResultsListener.SearchErrorCode>
,Constable
- Enclosing interface:
- SearchResultsListener
public static enum SearchResultsListener.SearchErrorCode
extends Enum<SearchResultsListener.SearchErrorCode>
Search error codes
- Since:
- 1.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSearch failed - invalid search radius value (negative or zero)Search failed - too few characters for searchSearch failed - unknown current location when searching near GPS positionSearch successfully finished -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUCCESS
Search successfully finished- Since:
- 1.0
-
FAILED_TOO_FEW_CHARACTERS
Search failed - too few characters for search- Since:
- 1.0
-
FAILED_UNKNOWN_CURRENT_LOCATION
Search failed - unknown current location when searching near GPS position- Since:
- 1.0
-
FAILED_INVALID_SEARCH_RADIUS
Search failed - invalid search radius value (negative or zero)- Since:
- 1.6
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-