Enum Class DirectionInformationUsageOption

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

public enum DirectionInformationUsageOption extends Enum<DirectionInformationUsageOption>

Indicates the option of direction information included in the notification.

  • Enum Constant Details

    • NONE

      public static final DirectionInformationUsageOption NONE

      No direction information is included in the notification. Example: 'Now turn left to join the highway.'.

    • ROAD_INFORMATION_ONLY

      public static final DirectionInformationUsageOption ROAD_INFORMATION_ONLY

      Road information (either street name or road number based on the maneuver action) is included in the notification, if available. Street name is included mainly for non-highway-related maneuver, whilst road number is included in case of highway-related maneuver. Example: 'Now turn left to join the I-83 South.'.

    • ROAD_INFORMATION_AND_SIGNPOST_DIRECTION

      public static final DirectionInformationUsageOption ROAD_INFORMATION_AND_SIGNPOST_DIRECTION

      Both Road information (either street name or road number based on the maneuver action) and signpost direction are included in the notification, or either one, if available. Street name is included mainly for non-highway-related maneuver, whilst road number is included in case of highway-related maneuver. Example: 'Now turn left to join the I-83 South towards Baltimore.'.

  • Method Details

    • values

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