Enum Class EnableOption

java.lang.Object
java.lang.Enum<EnableOption>
com.here.sdk.venue.routing.EnableOption
All Implemented Interfaces:
Serializable, Comparable<EnableOption>, Constable

public enum EnableOption extends Enum<EnableOption>

Defines where the transport mode is enabled along the route.

  • Enum Constant Details

    • NOT_SPECIFIC

      public static final EnableOption NOT_SPECIFIC

      Not specifically defined.

    • ROUTE_HEAD

      public static final EnableOption ROUTE_HEAD

      Enable at the start of the route (route head).

    • ROUTE_TAIL

      public static final EnableOption ROUTE_TAIL

      Enable at the end of the route (route tail).

    • ENTIRE_ROUTE

      public static final EnableOption ENTIRE_ROUTE

      Enable for the entire duration of the route.

  • Method Details

    • values

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