Enum Class TransitMode

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

public enum TransitMode extends Enum<TransitMode>

Public transit mode

  • Enum Constant Details

    • HIGH_SPEED_TRAIN

      public static final TransitMode HIGH_SPEED_TRAIN

      High speed train.

    • INTERCITY_TRAIN

      public static final TransitMode INTERCITY_TRAIN

      Intercity train.

    • INTER_REGIONAL_TRAIN

      public static final TransitMode INTER_REGIONAL_TRAIN

      Inter regional train.

    • REGIONAL_TRAIN

      public static final TransitMode REGIONAL_TRAIN

      Regional train.

    • CITY_TRAIN

      public static final TransitMode CITY_TRAIN

      City train.

    • BUS

      public static final TransitMode BUS

      Bus.

    • FERRY

      public static final TransitMode FERRY

      Ferry.

    • SUBWAY

      public static final TransitMode SUBWAY

      Subway.

    • LIGHT_RAIL

      public static final TransitMode LIGHT_RAIL

      Light rail.

    • PRIVATE_BUS

      public static final TransitMode PRIVATE_BUS

      Private bus.

    • INCLINED

      public static final TransitMode INCLINED

      Inclined.

    • AERIAL

      public static final TransitMode AERIAL

      Aerial.

    • BUS_RAPID

      public static final TransitMode BUS_RAPID

      Bus rapid.

    • MONORAIL

      public static final TransitMode MONORAIL

      Monorail.

    • FLIGHT

      public static final TransitMode FLIGHT

      Flight.

  • Method Details

    • values

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