Enum Class TimingProfile

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

public enum TimingProfile extends Enum<TimingProfile>

Identifies the timing profile used for emitting notifications and warnings.

  • Enum Constant Details

    • SLOW_SPEED

      public static final TimingProfile SLOW_SPEED

      Timing profile used when the speed is slow. This timing profile is applied for speed limits or speeds greater than 0 meters/second but slower or equal to 16.39 meters/second (aproximately 60 kilometers/hour). There is also an additional check if the area is built up and if it is, the timing profile is also considerd as SLOW_SPEED regardless of the speed limit or the current speed.

    • REGULAR_SPEED

      public static final TimingProfile REGULAR_SPEED

      Timing profile used when the speed is regular. This timing profile is applied for speed limits or speeds greater than 16.39 meters/second (aproximately 60 kilometer/hour) but slower or equal to 27.78 meters/second (aproximately 100 kilometer/hour).

    • FAST_SPEED

      public static final TimingProfile FAST_SPEED

      Timing profile used when the speed is fast. This timing profile is applied for speed limits or speeds greater than 27.78 meters/second (aproximately 100 kilometer/hour) or no speed limits.

  • Method Details

    • values

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