Enum Class VehicleType

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

@Deprecated public enum VehicleType extends Enum<VehicleType>
Deprecated.

Will be removed in v4.28.0. Use sdk.transport.TransportMode instead.

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
      Deprecated.

      Vehicle type is a car.

    • TRUCK

      public static final VehicleType TRUCK
      Deprecated.

      Vehicle type is a truck.

    • BICYCLE

      public static final VehicleType BICYCLE
      Deprecated.

      Vehicle type is a bicycle.

    • BUS

      public static final VehicleType BUS
      Deprecated.

      Vehicle type is a bus.

    • MOTORCYCLE

      public static final VehicleType MOTORCYCLE
      Deprecated.

      Vehicle type is a motorcycle.

    • SCOOTER

      public static final VehicleType SCOOTER
      Deprecated.

      Vehicle type is a scooter.

    • PRIVATE_BUS

      public static final VehicleType PRIVATE_BUS
      Deprecated.

      Vehicle type is a private bus.

  • Method Details

    • values

      public static VehicleType[] values()
      Deprecated.
      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)
      Deprecated.
      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