Enum Class WarningStatus

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

public enum WarningStatus extends Enum<WarningStatus>

Indicates the current status of the warning relative to the vehicle's position.

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.

  • Enum Constant Details

    • AHEAD

      public static final WarningStatus AHEAD

      The warning is ahead of the vehicle. Ony a single AHEAD is given for each warning.

    • APPROACHING

      public static final WarningStatus APPROACHING

      The warning is ahead with the updated distance till the REACHED notification.

    • REACHED

      public static final WarningStatus REACHED

      The warning location has just been reached. Ony a single REACHED is given for each warning.

    • INSIDE

      public static final WarningStatus INSIDE

      The vehicle is inside the warned area.

    • PASSED

      public static final WarningStatus PASSED

      The warning location has been passed. Ony a single PASSED is given for each warning.

  • Method Details

    • values

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