ElectronicHorizonDataLoaderErrorCode (API Reference)
Package com.here.sdk.electronichorizon
Enum Class ElectronicHorizonDataLoaderErrorCode
java.lang.Object
java.lang.Enum<ElectronicHorizonDataLoaderErrorCode>
com.here.sdk.electronichorizon.ElectronicHorizonDataLoaderErrorCode
- All Implemented Interfaces:
Serializable,Comparable<ElectronicHorizonDataLoaderErrorCode>,Constable
Represents error codes that describe the result of the ElectronicHorizonDataLoader.getSegment(com.here.sdk.mapdata.DirectedOCMSegmentId) 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 ConstantDescriptionSegment is not present in the data loader cache.Segment is scheduled for loading but not available yet. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ElectronicHorizonDataLoaderErrorCode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SEGMENT_NOT_CACHED
Segment is not present in the data loader cache.
-
SEGMENT_NOT_READY
Segment is scheduled for loading but not available yet.
-
-
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
-