Class PlaceCategory
Class PlaceCategory
- java.lang.Object
-
- com.here.NativeBase
-
- com.here.sdk.search.PlaceCategory
-
public final class PlaceCategory extends NativeBase
Represents a category of place with different levels of granularity. This class also defines a set of most commonly used categories.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringACCOMMODATIONTop level category for places offering lodging accommodations, dwellings or similar living quarters to travellers, such as hotels, motels, resorts, cruise ships and campgrounds.static java.lang.StringACCOMMODATION_HOTEL_MOTELA business that provides lodging or temporary living quarters.static java.lang.StringACCOMMODATION_LODGINGA business that provides lodging to the public generally without room service.static java.lang.StringAREAS_AND_BUILDINGSTop level category for places that are owned, operated or managed by municipalities, such as cities, towns, villages, boroughs and shires.static java.lang.StringAREAS_AND_BUILDINGS_OUTDOOR_COMPLEXOutdoor areas or complexes with designations for specific businesses or interests.static java.lang.StringAREAS_AND_BUILDINGS_RESIDENTAL_OFFICEAreas and buildings designated for residential or office use.static java.lang.StringBUSINESS_AND_COMMERCIAL_SERVICESBusinesses that provide a service or product for use by other businesses.static java.lang.StringBUSINESS_AND_CONSUMER_SERVICESAn organization that provides consumer services for a variety of products for used by the public.static java.lang.StringBUSINESS_AND_SERVICESTop level category for places that provide professional services to other businesses, such as printing, photocopying, graphic design, marketing, advertising and other general business services.static java.lang.StringBUSINESS_AND_SERVICES_ATMA computer terminal that allows bank customers to deposit, withdraw, or transfer funds without the assistance of a bank teller.static java.lang.StringBUSINESS_AND_SERVICES_BANKINGBusinesses that specialize in the maintenance, lending, exchange, or issuance of money.static java.lang.StringBUSINESS_AND_SERVICES_CAR_DEALER_SALESBusinesses that sell new automobiles and motorcycles.static java.lang.StringBUSINESS_AND_SERVICES_CAR_RENTALBusinesses that rent or lease automobiles.static java.lang.StringBUSINESS_AND_SERVICES_CAR_REPAIR_SERVICESBusinesses that provide automotive repair services.static java.lang.StringBUSINESS_AND_SERVICES_COMMUNICATION_MEDIABusinesses that provide communication services.static java.lang.StringBUSINESS_AND_SERVICES_EV_CHARGING_STATIONBusinesses that provide recharging services for electric vehicles.static java.lang.StringBUSINESS_AND_SERVICES_FUELING_STATIONBusinesses that sell fuel for vehicles, such as petrol, electricity etc.static java.lang.StringBUSINESS_AND_SERVICES_INDUSTRYBusinesses that employ people in and around the city in which it is located.static java.lang.StringBUSINESS_AND_SERVICES_MONEY_CASHBusinesses that provide money related services.static java.lang.StringBUSINESS_AND_SERVICES_PETROL_GASOLINE_STATIONBusinesses that sell fuel, oil, and other motoring supplies.static java.lang.StringBUSINESS_AND_SERVICES_POLICE_FIRE_EMERGENCYMunicipal emergency services.static java.lang.StringBUSINESS_AND_SERVICES_POST_OFFICEAn office or station that receives, sorts, dispatches and delivers mail to a specific area or region.static java.lang.StringBUSINESS_AND_SERVICES_TOURIST_INFORMATIONBusinesses that provide a variety of information for visiting tourists, such as event schedules, lodging/accommodations, restaurants, attractions and more.static java.lang.StringBUSINESS_AND_SERVICES_TRUCK_SEMI_DEALERBusiness that sell or service trucks and tractor trailers.static java.lang.StringEAT_AND_DRINKTop level category for places where food or beverages are prepared or served.static java.lang.StringEAT_AND_DRINK_COFFEE_TEAAn establishment that sells drinks, such as coffee and tea, as well as refreshments.static java.lang.StringEAT_AND_DRINK_RESTAURANTAn establishment that prepares and serves refreshments and prepared meals.static java.lang.StringFACILITIESTop level category for places associated with specialized facilities, such as sports venues, government buildings, health care centers and other types of facilities.static java.lang.StringFACILITIES_EDUCATIONFacilities that are used for educational purposes including training, coaching, universities and more.static java.lang.StringFACILITIES_EVENT_SPACESAn area or facility used for the hosting of fairs and conventions.static java.lang.StringFACILITIES_GOVERNMENT_COMMUNITTYA Place where government services are provided.static java.lang.StringFACILITIES_HOSPITAL_HEALTHCAREFacilities that include dental offices, hospitals, nursing homes and other health care-related services.static java.lang.StringFACILITIES_LIBRARYFacilities that offer books, periodicals, audio, video and other material for public use.static java.lang.StringFACILITIES_OTHERFacilities with miscellaneous uses such as Clubhouses, Offices, and Registration Offices.static java.lang.StringFACILITIES_PARKINGArea or building used for parking cars.static java.lang.StringFACILITIES_SCHOOLEducational facilities that include primary schools, secondary schools and more.static java.lang.StringFACILITIES_VENUE_SPORTSA facility used for individual and team sports including recreational sports.static java.lang.StringGOING_OUT_CINEMAAn establishment that shows movies through screen projection.static java.lang.StringGOING_OUT_ENTERTAINMENTTop level category for places commonly associated with entertainment, such as bars, cinemas, theatres, casinos and night clubs.static java.lang.StringGOING_OUT_GAMBLING_LOTTERY_BETTINGAn establishment that provides gambling entertainment.static java.lang.StringGOING_OUT_NIGHTLIFEAn establishment that provides evening entertainment and usually serves alcoholic beverages.static java.lang.StringGOING_OUT_THEATRE_MUSIC_CULTUREAn establishment where various types of performing arts are presented.static java.lang.StringLEISURE_AND_OUTDOORTop level category for places that are designated for sports, recreation, parking, beaches and other leisure and outdoor activities.static java.lang.StringLEISURE_OTHERA park that contains rides and/or other entertainment which may be based on a central theme.static java.lang.StringLEISURE_OUTDOOR_RECREATIONPublic land preserved and maintained for recreational use.static java.lang.StringNATURAL_AND_GEOGRAPHICALTop level category for natural or man-made areas of regional importance, such as bodies of water, mountains, forested areas and other geographic areas.static java.lang.StringNATURAL_AND_GEOGRAPHICAL_BODY_OF_WATERA natural and geographical feature of the earth's surface that is covered with water, such as a lake, river, stream or ocean.static java.lang.StringNATURAL_AND_GEOGRAPHICAL_FOREST_HEALTH_OTHER_VEGETATIONA dense growth of trees, open uncultivated land or other large masses of vegetation.static java.lang.StringNATURAL_AND_GEOGRAPHICAL_MOUNTAIN_OR_HILLA natural and geographical feature that is higher than the surrounding land.static java.lang.StringNATURAL_AND_GEOGRAPHICAL_OTHERA feature not classified as a Body of Water, Mountain or Hill, Undersea Feature, or Forest, Heath or Other Vegetation.static java.lang.StringNATURAL_AND_GEOGRAPHICAL_UNDERSEA_FEATUREA natural or artificial feature that is below sea level.static java.lang.StringSHOPPINGTop level category for places where consumer goods are commonly sold, such as clothing stores, grocery stores, hardware stores and other types of shopping centers.static java.lang.StringSHOPPING_BOOKSTOREA business that sells books, magazines and other reading material.static java.lang.StringSHOPPING_CLOTHING_AND_ACCESORIESA business that sells apparel items, garments or fashion accessories for men, women, and children.static java.lang.StringSHOPPING_CONSUMER_GOODSA business that sells a variety of products targeted to consumers.static java.lang.StringSHOPPING_CONVENIENCE_STOREAn establishment that sells groceries, candy, toiletries, soft drinks, tobacco products, newspapers and other products.static java.lang.StringSHOPPING_DEPARTMENT_STOREA business that sells a wide variety of merchandise that is organized by product or service departments.static java.lang.StringSHOPPING_DRUGSTORE_PHARMACYA business that sells medications, toiletry items and other retail cosmetics.static java.lang.StringSHOPPING_ELECTRONICSA business that sells consumer electronics and electronic entertainment equipment.static java.lang.StringSHOPPING_FOOD_AND_DRINKA business that sells specialty products of a particular type of food or beverage.static java.lang.StringSHOPPING_HAIR_AND_BEAUTYA business that provides hair styling and personal appearance services.static java.lang.StringSHOPPING_HARDWARE_HOUSE_GARDENA business that sells crafts, gardening, remodeling, or decorating items for the home.static java.lang.StringSHOPPING_MALL_COMPLEXA complex of businesses that are co-located and share common services.static java.lang.StringSIGHTS_AND_MUSEUMSTop level category for places of special interest, such as common tourist attractions, museums and places of worship.static java.lang.StringSIGHTS_LANDMARK_ATTACTIONDeprecated.Will be removed in v4.26.0.static java.lang.StringSIGHTS_LANDMARK_ATTRACTIONA designated area of special interest to tourists.static java.lang.StringSIGHTS_MUSEUMAn establishment dedicated to the preservation and exhibition of artistic, historical, or scientific artifacts.static java.lang.StringSIGHTS_RELIGIOUS_PLACEAn establishment special religious significance or where religious services are held.static java.lang.StringTRANSPORTTop level category for places commonly associated with pedestrian and cargo transport facilities, including airports, rail yards and seaports.static java.lang.StringTRANSPORT_AIRPORTA designated area that serves various aspects of aviation related sports, including gliders, recreational aircraft and model airplanes.static java.lang.StringTRANSPORT_CARGOA facility that handles some aspect of the transportation of cargo freight.static java.lang.StringTRANSPORT_PUBLICA facility for travelers who are travelling between stops on public transport.static java.lang.StringTRANSPORT_REST_AREAAn establishment along a motorway (controlled access road) that provides restrooms and parking.
-
Constructor Summary
Constructors Constructor Description PlaceCategory(java.lang.String id)Creates a new instance of this class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetId()Gets the place category ID.java.lang.StringgetName()Gets the localised place category name.
-
-
-
Field Detail
-
EAT_AND_DRINK
public static final java.lang.String EAT_AND_DRINK
Top level category for places where food or beverages are prepared or served.
- See Also:
- Constant Field Values
-
EAT_AND_DRINK_RESTAURANT
public static final java.lang.String EAT_AND_DRINK_RESTAURANT
An establishment that prepares and serves refreshments and prepared meals.
- See Also:
- Constant Field Values
-
EAT_AND_DRINK_COFFEE_TEA
public static final java.lang.String EAT_AND_DRINK_COFFEE_TEA
An establishment that sells drinks, such as coffee and tea, as well as refreshments.
- See Also:
- Constant Field Values
-
GOING_OUT_ENTERTAINMENT
public static final java.lang.String GOING_OUT_ENTERTAINMENT
Top level category for places commonly associated with entertainment, such as bars, cinemas, theatres, casinos and night clubs.
- See Also:
- Constant Field Values
-
GOING_OUT_NIGHTLIFE
public static final java.lang.String GOING_OUT_NIGHTLIFE
An establishment that provides evening entertainment and usually serves alcoholic beverages.
- See Also:
- Constant Field Values
-
GOING_OUT_CINEMA
public static final java.lang.String GOING_OUT_CINEMA
An establishment that shows movies through screen projection.
- See Also:
- Constant Field Values
-
GOING_OUT_THEATRE_MUSIC_CULTURE
public static final java.lang.String GOING_OUT_THEATRE_MUSIC_CULTURE
An establishment where various types of performing arts are presented.
- See Also:
- Constant Field Values
-
GOING_OUT_GAMBLING_LOTTERY_BETTING
public static final java.lang.String GOING_OUT_GAMBLING_LOTTERY_BETTING
An establishment that provides gambling entertainment.
- See Also:
- Constant Field Values
-
SIGHTS_AND_MUSEUMS
public static final java.lang.String SIGHTS_AND_MUSEUMS
Top level category for places of special interest, such as common tourist attractions, museums and places of worship.
- See Also:
- Constant Field Values
-
SIGHTS_LANDMARK_ATTACTION
@Deprecated public static final java.lang.String SIGHTS_LANDMARK_ATTACTION
Deprecated.Will be removed in v4.26.0. Please use SIGHTS_LANDMARK_ATTRACTION instead.
A designated area of special interest to tourists.
- See Also:
- Constant Field Values
-
SIGHTS_LANDMARK_ATTRACTION
public static final java.lang.String SIGHTS_LANDMARK_ATTRACTION
A designated area of special interest to tourists.
- See Also:
- Constant Field Values
-
SIGHTS_MUSEUM
public static final java.lang.String SIGHTS_MUSEUM
An establishment dedicated to the preservation and exhibition of artistic, historical, or scientific artifacts.
- See Also:
- Constant Field Values
-
SIGHTS_RELIGIOUS_PLACE
public static final java.lang.String SIGHTS_RELIGIOUS_PLACE
An establishment special religious significance or where religious services are held.
- See Also:
- Constant Field Values
-
NATURAL_AND_GEOGRAPHICAL
public static final java.lang.String NATURAL_AND_GEOGRAPHICAL
Top level category for natural or man-made areas of regional importance, such as bodies of water, mountains, forested areas and other geographic areas.
- See Also:
- Constant Field Values
-
NATURAL_AND_GEOGRAPHICAL_BODY_OF_WATER
public static final java.lang.String NATURAL_AND_GEOGRAPHICAL_BODY_OF_WATER
A natural and geographical feature of the earth's surface that is covered with water, such as a lake, river, stream or ocean.
- See Also:
- Constant Field Values
-
NATURAL_AND_GEOGRAPHICAL_MOUNTAIN_OR_HILL
public static final java.lang.String NATURAL_AND_GEOGRAPHICAL_MOUNTAIN_OR_HILL
A natural and geographical feature that is higher than the surrounding land.
- See Also:
- Constant Field Values
-
NATURAL_AND_GEOGRAPHICAL_UNDERSEA_FEATURE
public static final java.lang.String NATURAL_AND_GEOGRAPHICAL_UNDERSEA_FEATURE
A natural or artificial feature that is below sea level.
- See Also:
- Constant Field Values
-
NATURAL_AND_GEOGRAPHICAL_FOREST_HEALTH_OTHER_VEGETATION
public static final java.lang.String NATURAL_AND_GEOGRAPHICAL_FOREST_HEALTH_OTHER_VEGETATION
A dense growth of trees, open uncultivated land or other large masses of vegetation.
- See Also:
- Constant Field Values
-
NATURAL_AND_GEOGRAPHICAL_OTHER
public static final java.lang.String NATURAL_AND_GEOGRAPHICAL_OTHER
A feature not classified as a Body of Water, Mountain or Hill, Undersea Feature, or Forest, Heath or Other Vegetation.
- See Also:
- Constant Field Values
-
TRANSPORT
public static final java.lang.String TRANSPORT
Top level category for places commonly associated with pedestrian and cargo transport facilities, including airports, rail yards and seaports.
- See Also:
- Constant Field Values
-
TRANSPORT_AIRPORT
public static final java.lang.String TRANSPORT_AIRPORT
A designated area that serves various aspects of aviation related sports, including gliders, recreational aircraft and model airplanes.
- See Also:
- Constant Field Values
-
TRANSPORT_PUBLIC
public static final java.lang.String TRANSPORT_PUBLIC
A facility for travelers who are travelling between stops on public transport.
- See Also:
- Constant Field Values
-
TRANSPORT_CARGO
public static final java.lang.String TRANSPORT_CARGO
A facility that handles some aspect of the transportation of cargo freight.
- See Also:
- Constant Field Values
-
TRANSPORT_REST_AREA
public static final java.lang.String TRANSPORT_REST_AREA
An establishment along a motorway (controlled access road) that provides restrooms and parking.
- See Also:
- Constant Field Values
-
ACCOMMODATION
public static final java.lang.String ACCOMMODATION
Top level category for places offering lodging accommodations, dwellings or similar living quarters to travellers, such as hotels, motels, resorts, cruise ships and campgrounds.
- See Also:
- Constant Field Values
-
ACCOMMODATION_HOTEL_MOTEL
public static final java.lang.String ACCOMMODATION_HOTEL_MOTEL
A business that provides lodging or temporary living quarters.
- See Also:
- Constant Field Values
-
ACCOMMODATION_LODGING
public static final java.lang.String ACCOMMODATION_LODGING
A business that provides lodging to the public generally without room service.
- See Also:
- Constant Field Values
-
LEISURE_AND_OUTDOOR
public static final java.lang.String LEISURE_AND_OUTDOOR
Top level category for places that are designated for sports, recreation, parking, beaches and other leisure and outdoor activities.
- See Also:
- Constant Field Values
-
LEISURE_OUTDOOR_RECREATION
public static final java.lang.String LEISURE_OUTDOOR_RECREATION
Public land preserved and maintained for recreational use.
- See Also:
- Constant Field Values
-
LEISURE_OTHER
public static final java.lang.String LEISURE_OTHER
A park that contains rides and/or other entertainment which may be based on a central theme.
- See Also:
- Constant Field Values
-
SHOPPING
public static final java.lang.String SHOPPING
Top level category for places where consumer goods are commonly sold, such as clothing stores, grocery stores, hardware stores and other types of shopping centers.
- See Also:
- Constant Field Values
-
SHOPPING_CONVENIENCE_STORE
public static final java.lang.String SHOPPING_CONVENIENCE_STORE
An establishment that sells groceries, candy, toiletries, soft drinks, tobacco products, newspapers and other products.
- See Also:
- Constant Field Values
-
SHOPPING_MALL_COMPLEX
public static final java.lang.String SHOPPING_MALL_COMPLEX
A complex of businesses that are co-located and share common services.
- See Also:
- Constant Field Values
-
SHOPPING_DEPARTMENT_STORE
public static final java.lang.String SHOPPING_DEPARTMENT_STORE
A business that sells a wide variety of merchandise that is organized by product or service departments.
- See Also:
- Constant Field Values
-
SHOPPING_FOOD_AND_DRINK
public static final java.lang.String SHOPPING_FOOD_AND_DRINK
A business that sells specialty products of a particular type of food or beverage.
- See Also:
- Constant Field Values
-
SHOPPING_DRUGSTORE_PHARMACY
public static final java.lang.String SHOPPING_DRUGSTORE_PHARMACY
A business that sells medications, toiletry items and other retail cosmetics.
- See Also:
- Constant Field Values
-
SHOPPING_ELECTRONICS
public static final java.lang.String SHOPPING_ELECTRONICS
A business that sells consumer electronics and electronic entertainment equipment.
- See Also:
- Constant Field Values
-
SHOPPING_HARDWARE_HOUSE_GARDEN
public static final java.lang.String SHOPPING_HARDWARE_HOUSE_GARDEN
A business that sells crafts, gardening, remodeling, or decorating items for the home.
- See Also:
- Constant Field Values
-
SHOPPING_BOOKSTORE
public static final java.lang.String SHOPPING_BOOKSTORE
A business that sells books, magazines and other reading material.
- See Also:
- Constant Field Values
-
SHOPPING_CLOTHING_AND_ACCESORIES
public static final java.lang.String SHOPPING_CLOTHING_AND_ACCESORIES
A business that sells apparel items, garments or fashion accessories for men, women, and children.
- See Also:
- Constant Field Values
-
SHOPPING_CONSUMER_GOODS
public static final java.lang.String SHOPPING_CONSUMER_GOODS
A business that sells a variety of products targeted to consumers.
- See Also:
- Constant Field Values
-
SHOPPING_HAIR_AND_BEAUTY
public static final java.lang.String SHOPPING_HAIR_AND_BEAUTY
A business that provides hair styling and personal appearance services. Places in this category may also sell hair products and other related cosmetic items.
- See Also:
- Constant Field Values
-
BUSINESS_AND_SERVICES
public static final java.lang.String BUSINESS_AND_SERVICES
Top level category for places that provide professional services to other businesses, such as printing, photocopying, graphic design, marketing, advertising and other general business services.
- See Also:
- Constant Field Values
-
BUSINESS_AND_SERVICES_BANKING
public static final java.lang.String BUSINESS_AND_SERVICES_BANKING
Businesses that specialize in the maintenance, lending, exchange, or issuance of money.
- See Also:
- Constant Field Values
-
BUSINESS_AND_SERVICES_ATM
public static final java.lang.String BUSINESS_AND_SERVICES_ATM
A computer terminal that allows bank customers to deposit, withdraw, or transfer funds without the assistance of a bank teller.
- See Also:
- Constant Field Values
-
BUSINESS_AND_SERVICES_MONEY_CASH
public static final java.lang.String BUSINESS_AND_SERVICES_MONEY_CASH
Businesses that provide money related services.
- See Also:
- Constant Field Values
-
BUSINESS_AND_SERVICES_COMMUNICATION_MEDIA
public static final java.lang.String BUSINESS_AND_SERVICES_COMMUNICATION_MEDIA
Businesses that provide communication services.
- See Also:
- Constant Field Values
-
BUSINESS_AND_COMMERCIAL_SERVICES
public static final java.lang.String BUSINESS_AND_COMMERCIAL_SERVICES
Businesses that provide a service or product for use by other businesses.
- See Also:
- Constant Field Values
-
BUSINESS_AND_SERVICES_INDUSTRY
public static final java.lang.String BUSINESS_AND_SERVICES_INDUSTRY
Businesses that employ people in and around the city in which it is located.
- See Also:
- Constant Field Values
-
BUSINESS_AND_SERVICES_POLICE_FIRE_EMERGENCY
public static final java.lang.String BUSINESS_AND_SERVICES_POLICE_FIRE_EMERGENCY
Municipal emergency services.
- See Also:
- Constant Field Values
-
BUSINESS_AND_CONSUMER_SERVICES
public static final java.lang.String BUSINESS_AND_CONSUMER_SERVICES
An organization that provides consumer services for a variety of products for used by the public.
- See Also:
- Constant Field Values
-
BUSINESS_AND_SERVICES_POST_OFFICE
public static final java.lang.String BUSINESS_AND_SERVICES_POST_OFFICE
An office or station that receives, sorts, dispatches and delivers mail to a specific area or region.
- See Also:
- Constant Field Values
-
BUSINESS_AND_SERVICES_TOURIST_INFORMATION
public static final java.lang.String BUSINESS_AND_SERVICES_TOURIST_INFORMATION
Businesses that provide a variety of information for visiting tourists, such as event schedules, lodging/accommodations, restaurants, attractions and more.
- See Also:
- Constant Field Values
-
BUSINESS_AND_SERVICES_FUELING_STATION
public static final java.lang.String BUSINESS_AND_SERVICES_FUELING_STATION
Businesses that sell fuel for vehicles, such as petrol, electricity etc.
- See Also:
- Constant Field Values
-
BUSINESS_AND_SERVICES_PETROL_GASOLINE_STATION
public static final java.lang.String BUSINESS_AND_SERVICES_PETROL_GASOLINE_STATION
Businesses that sell fuel, oil, and other motoring supplies.
- See Also:
- Constant Field Values
-
BUSINESS_AND_SERVICES_EV_CHARGING_STATION
public static final java.lang.String BUSINESS_AND_SERVICES_EV_CHARGING_STATION
Businesses that provide recharging services for electric vehicles.
- See Also:
- Constant Field Values
-
BUSINESS_AND_SERVICES_CAR_DEALER_SALES
public static final java.lang.String BUSINESS_AND_SERVICES_CAR_DEALER_SALES
Businesses that sell new automobiles and motorcycles.
- See Also:
- Constant Field Values
-
BUSINESS_AND_SERVICES_CAR_REPAIR_SERVICES
public static final java.lang.String BUSINESS_AND_SERVICES_CAR_REPAIR_SERVICES
Businesses that provide automotive repair services.
- See Also:
- Constant Field Values
-
BUSINESS_AND_SERVICES_CAR_RENTAL
public static final java.lang.String BUSINESS_AND_SERVICES_CAR_RENTAL
Businesses that rent or lease automobiles.
- See Also:
- Constant Field Values
-
BUSINESS_AND_SERVICES_TRUCK_SEMI_DEALER
public static final java.lang.String BUSINESS_AND_SERVICES_TRUCK_SEMI_DEALER
Business that sell or service trucks and tractor trailers.
- See Also:
- Constant Field Values
-
FACILITIES
public static final java.lang.String FACILITIES
Top level category for places associated with specialized facilities, such as sports venues, government buildings, health care centers and other types of facilities.
- See Also:
- Constant Field Values
-
FACILITIES_HOSPITAL_HEALTHCARE
public static final java.lang.String FACILITIES_HOSPITAL_HEALTHCARE
Facilities that include dental offices, hospitals, nursing homes and other health care-related services.
- See Also:
- Constant Field Values
-
FACILITIES_GOVERNMENT_COMMUNITTY
public static final java.lang.String FACILITIES_GOVERNMENT_COMMUNITTY
A Place where government services are provided.
- See Also:
- Constant Field Values
-
FACILITIES_EDUCATION
public static final java.lang.String FACILITIES_EDUCATION
Facilities that are used for educational purposes including training, coaching, universities and more.
- See Also:
- Constant Field Values
-
FACILITIES_SCHOOL
public static final java.lang.String FACILITIES_SCHOOL
Educational facilities that include primary schools, secondary schools and more.
- See Also:
- Constant Field Values
-
FACILITIES_LIBRARY
public static final java.lang.String FACILITIES_LIBRARY
Facilities that offer books, periodicals, audio, video and other material for public use.
- See Also:
- Constant Field Values
-
FACILITIES_EVENT_SPACES
public static final java.lang.String FACILITIES_EVENT_SPACES
An area or facility used for the hosting of fairs and conventions.
- See Also:
- Constant Field Values
-
FACILITIES_PARKING
public static final java.lang.String FACILITIES_PARKING
Area or building used for parking cars.
- See Also:
- Constant Field Values
-
FACILITIES_VENUE_SPORTS
public static final java.lang.String FACILITIES_VENUE_SPORTS
A facility used for individual and team sports including recreational sports.
- See Also:
- Constant Field Values
-
FACILITIES_OTHER
public static final java.lang.String FACILITIES_OTHER
Facilities with miscellaneous uses such as Clubhouses, Offices, and Registration Offices.
- See Also:
- Constant Field Values
-
AREAS_AND_BUILDINGS
public static final java.lang.String AREAS_AND_BUILDINGS
Top level category for places that are owned, operated or managed by municipalities, such as cities, towns, villages, boroughs and shires.
- See Also:
- Constant Field Values
-
AREAS_AND_BUILDINGS_OUTDOOR_COMPLEX
public static final java.lang.String AREAS_AND_BUILDINGS_OUTDOOR_COMPLEX
Outdoor areas or complexes with designations for specific businesses or interests.
- See Also:
- Constant Field Values
-
AREAS_AND_BUILDINGS_RESIDENTAL_OFFICE
public static final java.lang.String AREAS_AND_BUILDINGS_RESIDENTAL_OFFICE
Areas and buildings designated for residential or office use.
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PlaceCategory
public PlaceCategory(@NonNull java.lang.String id)Creates a new instance of this class.
- Parameters:
id-Place category ID. The HERE places category system provides three levels of granularity:
- Level 1 represents high level groupings, such as "Eat and drink". Their IDs take the form "xxx", for example "100".
- Level 2 represents logical sub-groups or domains, such as "Eat and Drink / Restaurant". Their IDs take the form "xxx-xxxx", for example "100-1000".
- Level 3 provides the greatest level of granularity about place categorization,
such as "Eat and Drink / Restaurant / Casual Dining".
Their IDs take the form "xxx-xxxx-xxxx", for example "100-1000-0001".
The category ID can be provided as one of the predefined values, such as
EAT_AND_DRINK_RESTAURANTor as a literal string that matches one of the category IDs defined by the HERE Search service. Only level 1 and 2 category IDs are predefined. The complete list of supported category IDs, including level 3, can be found online: https://www.here.com/docs/bundle/geocoding-and-search-api-v7-api-reference/page/index.html.
-
-
Method Detail
-
getId
@NonNull public java.lang.String getId()
Gets the place category ID.
- Returns:
Place category ID.
-
getName
@Nullable public java.lang.String getName()
Gets the localised place category name.
It is available only when when
PlaceCategoryis obtained fromPlace. That means that whenPlaceCategoryis constructed directly by the client,nameis alwaysnull.- Returns:
Localised place category name.
-
-