CatalogUpdateState (API Reference)
Package com.here.sdk.maploader
Enum Class CatalogUpdateState
- All Implemented Interfaces:
Serializable,Comparable<CatalogUpdateState>,Constable
Represents the state of catalog map updates.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPrevious catalog downloading is ongoing or interrupted.State is not fetched, so unknownPreviously downloaded catalog version can be updated to their latest version.When more than one catalog is used or configured, and the update process for it fails, then that specific catalog goes in PENDING_UPDATE state. -
Method Summary
Modifier and TypeMethodDescriptionstatic CatalogUpdateStateReturns the enum constant of this class with the specified name.static CatalogUpdateState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UPDATE_AVAILABLE
Previously downloaded catalog version can be updated to their latest version.
-
PENDING_UPDATE
Previous catalog downloading is ongoing or interrupted.
-
UPDATE_BLOCKED_AS_ANOTHER_PENDING
When more than one catalog is used or configured, and the update process for it fails, then that specific catalog goes in PENDING_UPDATE state. A user should not update any other catalog until the catalog in PENDING_UPDATE state is updated. Other catalogs will be set to UPDATE_BLOCKED_AS_ANOTHER_PENDING until the update process has been completed.
-
UNKNOWN_STATE
State is not fetched, so unknown
-
-
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
-