FacilityType (API Reference)
Enum Class FacilityType
- All Implemented Interfaces:
Serializable,Comparable<FacilityType>,Constable
Represents facility 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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn airport.A bike/e-bike/e-scooter sharing location.A bus stop.Business facilities.A place to have a coffee or other drinks.A parking lot for carpooling.Educational facilities.Financial facilities.A fuel station.Health facilities.A place to stay overnight.A shopping mall.A metro station.A museum or other cultural facility.Located in, or close to, a park, nature reserve etc.A parking lot.A place for recreation, like a park, beach etc.A place to eat.Service facilities.Sport facilities: gym, field etc.A store.A place to buy groceries.A taxi stand.A train station.A tram stop.Wifi or other type of internet available. -
Method Summary
Modifier and TypeMethodDescriptionstatic FacilityTypeReturns the enum constant of this class with the specified name.static FacilityType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HOTEL
A place to stay overnight.
-
RESTAURANT
A place to eat.
-
CAFE
A place to have a coffee or other drinks.
-
MALL
A shopping mall.
-
SUPERMARKET
A place to buy groceries.
-
SPORT
Sport facilities: gym, field etc.
-
RECREATION_AREA
A place for recreation, like a park, beach etc.
-
NATURE
Located in, or close to, a park, nature reserve etc.
-
MUSEUM
A museum or other cultural facility.
-
BIKE_SHARING
A bike/e-bike/e-scooter sharing location.
-
BUS_STOP
A bus stop.
-
TAXI_STAND
A taxi stand.
-
TRAM_STOP
A tram stop.
-
METRO_STATION
A metro station.
-
TRAIN_STATION
A train station.
-
AIRPORT
An airport.
-
PARKING_LOT
A parking lot.
-
CARPOOL_PARKING
A parking lot for carpooling.
-
FUEL_STATION
A fuel station.
-
WIFI
Wifi or other type of internet available.
-
BUSINESS
Business facilities.
-
EDUCATION
Educational facilities.
-
FINANCE
Financial facilities.
-
HEALTH
Health facilities.
-
SERVICE
Service facilities.
-
STORE
A store.
-
-
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
-