Enum Class ParkingType

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

public enum ParkingType extends Enum<ParkingType>

Represents parking type available at the location. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

  • Enum Constant Details

    • ALONG_MOTORWAY

      public static final ParkingType ALONG_MOTORWAY

      A parking facility/rest area along a motorway, freeway, interstate, highway etc.

    • PARKING_GARAGE

      public static final ParkingType PARKING_GARAGE

      Multi-story car park, mainly above ground.

    • PARKING_LOT

      public static final ParkingType PARKING_LOT

      A cleared area that is intended for parking vehicles, i.e. at super markets, bars, etc.

    • ON_DRIVEWAY

      public static final ParkingType ON_DRIVEWAY

      The driveway of a house or building.

    • ON_STREET

      public static final ParkingType ON_STREET

      A public parking space along a street.

    • UNDERGROUND_GARAGE

      public static final ParkingType UNDERGROUND_GARAGE

      Multi-story car park, mainly underground.

  • Method Details

    • values

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