Enum Class VehicleType

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

public enum VehicleType extends Enum<VehicleType>

Defines the type of the vehicle.

Note: This is a beta release of this vehicle type, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases or even become unsupported, without a deprecation process.

  • Enum Constant Details

    • CAR

      public static final VehicleType CAR

      Vehicle type is a car.

    • TRUCK

      public static final VehicleType TRUCK

      Vehicle type is a truck.

    • BICYCLE

      public static final VehicleType BICYCLE

      Vehicle type is a bicycle.

    • BUS

      public static final VehicleType BUS

      Vehicle type is a bus.

    • MOTORCYCLE

      public static final VehicleType MOTORCYCLE

      Vehicle type is a motorcycle.

    • SCOOTER

      public static final VehicleType SCOOTER

      Vehicle type is a scooter.

    • PRIVATE_BUS

      public static final VehicleType PRIVATE_BUS

      Vehicle type is a private bus.

  • Method Details

    • values

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