ElectronicHorizonErrorCode (API Reference)
Package com.here.sdk.electronichorizon
Enum Class ElectronicHorizonErrorCode
java.lang.Object
java.lang.Enum<ElectronicHorizonErrorCode>
com.here.sdk.electronichorizon.ElectronicHorizonErrorCode
- All Implemented Interfaces:
Serializable,Comparable<ElectronicHorizonErrorCode>,Constable
Represents error codes that describe the result of the ElectronicHorizonEngine.update(com.here.sdk.navigation.MapMatchedLocation) method.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
Offline availability: This property is available online and offline.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionElectronic horizon engine state is not available.Path tree is inconsistent.Current position cannot be resolved in the current electronic horizon tree.Current position cannot be matched to a road segment. -
Method Summary
Modifier and TypeMethodDescriptionstatic ElectronicHorizonErrorCodeReturns the enum constant of this class with the specified name.static ElectronicHorizonErrorCode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ENGINE_NOT_AVAILABLE
Electronic horizon engine state is not available.
-
POSITION_NOT_FOUND
Current position cannot be resolved in the current electronic horizon tree.
-
POSITION_OFF_ROAD
Current position cannot be matched to a road segment.
-
PATH_TREE_INCONSISTENT
Path tree is inconsistent.
-
-
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
-