Enum Class TransportType

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

public enum TransportType extends Enum<TransportType>

Specifies types of transportation for which access/restriction rules apply.

Note: This is a beta release of this feature. Related APIs may change for new releases without a deprecation process.

  • Enum Constant Details

    • AUTOMOBILES

      public static final TransportType AUTOMOBILES

      Cars.

    • BUSES

      public static final TransportType BUSES

      Buses.

    • TAXIS

      public static final TransportType TAXIS

      Taxis.

    • CARPOOLS

      public static final TransportType CARPOOLS

      Car pools.

    • PEDESTRIANS

      public static final TransportType PEDESTRIANS

      Pedestrians.

    • TRUCKS

      public static final TransportType TRUCKS

      Trucks.

    • THROUGH_TRAFFIC

      public static final TransportType THROUGH_TRAFFIC

      Through traffic.

    • DELIVERIES

      public static final TransportType DELIVERIES

      Deliveries.

    • EMERGENCY_VEHICLES

      public static final TransportType EMERGENCY_VEHICLES

      Emergency vehicles.

    • MOTORCYCLES

      public static final TransportType MOTORCYCLES

      Motorcycles.

  • Method Details

    • values

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