Enum Class ElectronicHorizonErrorCode

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

public enum ElectronicHorizonErrorCode extends Enum<ElectronicHorizonErrorCode>

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.

  • Enum Constant Details

    • ENGINE_NOT_AVAILABLE

      public static final ElectronicHorizonErrorCode ENGINE_NOT_AVAILABLE

      Electronic horizon engine state is not available.

    • POSITION_NOT_FOUND

      public static final ElectronicHorizonErrorCode POSITION_NOT_FOUND

      Current position cannot be resolved in the current electronic horizon tree.

    • POSITION_OFF_ROAD

      public static final ElectronicHorizonErrorCode POSITION_OFF_ROAD

      Current position cannot be matched to a road segment.

    • PATH_TREE_INCONSISTENT

      public static final ElectronicHorizonErrorCode PATH_TREE_INCONSISTENT

      Path tree is inconsistent.

  • Method Details

    • values

      public static ElectronicHorizonErrorCode[] 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 ElectronicHorizonErrorCode 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