Enum Class SpecialSpeedType

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

public enum SpecialSpeedType extends Enum<SpecialSpeedType>

Represents the speed situation type.

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.

  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    These posted speeds are not the legal limit, but rather serve to warn a driver that road conditions indicate a lower speed is practical.
    Speed limit that is in effect considering the season
    A conditional speed limit as indicated on the local road signs.
    These are situations where a road has different speed limits per lane.
    A conditional speed limit as indicated on the local road signs.
    School zone signs are often placed to slow drivers before reaching an intersection where children are crossing.
    A conditional speed limit as indicated on the local road signs.
    This indicates that for a stretch of road, speed bumps are present or chicanes are present that effectively reduce the posted speed.
    A conditional speed limit as indicated on the local road signs.
    Unknown special speed type
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • UNKNOWN

      public static final SpecialSpeedType UNKNOWN

      Unknown special speed type

    • ADVISORY_SPEED

      public static final SpecialSpeedType ADVISORY_SPEED

      These posted speeds are not the legal limit, but rather serve to warn a driver that road conditions indicate a lower speed is practical. Typically, the road condition is a curved road or a ramp but it may be due to a narrow road, narrow bridge, intersecting road, drainage dip, etc. In some cases, the advisory sign is on a different road than the one for which it applies (this can happen with ramps). In this case, the advisory speed is indicated for the road for which it is intended, even if the sign is further than 50 meters from the particular road.

      • Advisory speed signs due to construction are not included.
      • A speed value is published for advisory signs.
    • SPEED_BUMPS_PRESENT

      public static final SpecialSpeedType SPEED_BUMPS_PRESENT

      This indicates that for a stretch of road, speed bumps are present or chicanes are present that effectively reduce the posted speed.

    • SCHOOL

      public static final SpecialSpeedType SCHOOL

      School zone signs are often placed to slow drivers before reaching an intersection where children are crossing.

    • TIME_DEPENDENT

      public static final SpecialSpeedType TIME_DEPENDENT

      A conditional speed limit as indicated on the local road signs. Speed limit that is in effect considering the current local time provided by the device's clock.

    • APPROXIMATE_SEASONAL_TIME

      public static final SpecialSpeedType APPROXIMATE_SEASONAL_TIME

      Speed limit that is in effect considering the season

    • LANE_DEPENDENT

      public static final SpecialSpeedType LANE_DEPENDENT

      These are situations where a road has different speed limits per lane.

    • RAIN

      public static final SpecialSpeedType RAIN

      A conditional speed limit as indicated on the local road signs. The road speed limit that is in effect only when it is raining or there is water on the road.

      A possible usage example can be to show an icon on the device's screen containing both special speed limit value and a visual cue in order to warn the user about the conditional speed limit.

    • SNOW

      public static final SpecialSpeedType SNOW

      A conditional speed limit as indicated on the local road signs. The road speed limit that is in effect only when there is snow on the road.

      A possible usage example can be to show an icon on the device's screen containing both special speed limit value and a visual cue in order to warn the user about the conditional speed limit.

    • FOG

      public static final SpecialSpeedType FOG

      A conditional speed limit as indicated on the local road signs. The road speed limit that is in effect only when the visibility decreases due to fog.

      A possible usage example can be to show an icon on the device's screen containing both special speed limit value and a visual cue in order to warn the user about the conditional speed limit.

  • Method Details

    • values

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