VehicleType (API Reference)
Package com.here.sdk.transport
Enum Class VehicleType
- All Implemented Interfaces:
Serializable,Comparable<VehicleType>,Constable
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionVehicle type is a bicycle.Vehicle type is a bus.Vehicle type is a car.Vehicle type is a motorcycle.Vehicle type is a private bus.Vehicle type is a scooter.Vehicle type is a truck. -
Method Summary
Modifier and TypeMethodDescriptionstatic VehicleTypeReturns the enum constant of this class with the specified name.static VehicleType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CAR
Vehicle type is a car.
-
TRUCK
Vehicle type is a truck.
-
BICYCLE
Vehicle type is a bicycle.
-
BUS
Vehicle type is a bus.
-
MOTORCYCLE
Vehicle type is a motorcycle.
-
SCOOTER
Vehicle type is a scooter.
-
PRIVATE_BUS
Vehicle type is a private bus.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-