Enum Class TruckType

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

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

Will be removed in v4.27.0. Use TruckCategory instead.

Specifies the type of truck.

  • Enum Constant Details

    • STRAIGHT

      public static final TruckType STRAIGHT
      Deprecated.

      A truck on a single frame with a permanently attached cargo area.

    • TRACTOR

      public static final TruckType TRACTOR
      Deprecated.

      A towing vehicle that can pull one or more semi-trailers (AKA semi-truck.)

  • Method Details

    • values

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