Enum Class SpeedWarningStatus

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

public enum SpeedWarningStatus extends Enum<SpeedWarningStatus>

This enum represents the status of the speed warning feature.

  • Enum Constant Details

    • SPEED_LIMIT_EXCEEDED

      public static final SpeedWarningStatus SPEED_LIMIT_EXCEEDED

      Status when the current speed exceeded the speed limit (plus offset) for the current road segment. This status is followed by SPEED_LIMIT_RESTORED once the driving speed is again below the speed limit (plus offset) for the current road segment.

      Note: The speed limit used to check this condition does not take into account any temporary special speed limit. See SpeedLimitListener.

    • SPEED_LIMIT_RESTORED

      public static final SpeedWarningStatus SPEED_LIMIT_RESTORED

      Status where the current speed is again below the speed limit (plus offset) for the current road segment. This status is only possible after previously exceeding a speed limit.

      Note: The speed limit used to check this condition does not take into account any temporary special speed limit. See `SpeedLimitListener.

  • Method Details

    • values

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