HERE Android SDK Developer's Guide

Field

The enumeration Field is a member of com.here.android.mpa.mapping.LocationInfo.

Enumeration Summary

public static final enumeration LocationInfo.Field

extends java.lang.Enum, java.lang.Object

Fields for a LocationInfo object which can be retrieved

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in Field
Fields

public static final Field ADDR_COUNTRY_CODE

Country code of address, named as in ISO 3166 alpha-3

public static final Field ADDR_COUNTRY_NAME

Country Name

public static final Field ADDR_STATE_NAME

Name of federal state

public static final Field ADDR_STATE_CODE

Code of federal state

public static final Field ADDR_PROVINCE_NAME

Province Name

public static final Field ADDR_COUNTY_NAME

County Name

public static final Field ADDR_CITY_NAME

City Name

public static final Field ADDR_DISTRICT_NAME

District Name

public static final Field ADDR_POSTAL_CODE

Postal Code

public static final Field ADDR_TOWNSHIP_NAME

Township Name

public static final Field ADDR_NEIGHBORHOOD_NAME

Name of the neighborhood within the city

public static final Field ADDR_STREET_NAME

Street name

public static final Field ADDR_HOUSE_NUMBER

House number of address.

public static final Field ADDR_CONTINENT_NAME

Continent name

public static final Field ADDR_TYPE_NAME

Type of address (city, street, etc.)

public static final Field ADDR_POPULATION

Population living at this address

public static final Field ADDR_BUILDING_NAME

Building Name

public static final Field ADDR_BUILDING_FLOOR

Building Floor

public static final Field ADDR_BUILDING_ROOM

Building Room

public static final Field ADDR_BUILDING_ZONE

Building Zone

public static final Field PLACE_NAME

Place Name

public static final Field PLACE_PRE_NAME

Place prefix.

public static final Field PLACE_POST_NAME

Place postfix.

public static final Field PLACE_TYPE

Type of the place (premium, adplace, recommendation, etc.)

public static final Field PLACE_CATEGORY

Name of the category of the place

public static final Field PLACE_CATEGORY_ID

The identifier (number as a string) of the category.

public static final Field PLACE_DESCRIPTION

Short description of the place.

public static final Field PLACE_PHONE_NUMBER

Phone number of the place.

public static final Field PLACE_URL

URL belonging to the place.

public static final Field PLACE_PREMIUM_URL_ID

Premium POI URL Id.

public static final Field PLACE_PREMIUM_NODE_ID

Premium POI Node Id.

public static final Field PLACE_ADVERTISEMENT_STRING

Advertisement string

public static final Field TZ_OFFSET_MINUTES

Time zone offset in minutes

public static final Field OTHER_DATA

Can be used to return some other information for the location.

public static final Field PLACE_ICON_ID

The place's icon identifier.

public static final Field LOCATION_TYPE

ADDRESS, POI, STRING.

public static final Field LOCATION_META

Additional flags to mark results

public static final Field LOCATION_TEXT

Formatted text of the location

public static final Field ADDR_AREA_ID

Area Id

public static final Field FOREIGN_ID

Foreign ID

public static final Field FOREIGN_ID_SOURCE

Foreign ID source.

Method Summary

Table 2. Methods in Field
Methods

public static Field valueOf (String name)

This method retrieves the enumeration value that matches the name specified by the caller.

public static LocationInfo.Field[] values ()

This method retrieves an array of constants of the given enum type in the order in which they are declared.

Enumeration Details

Fields for a LocationInfo object which can be retrieved

Enum Constant Details

public static final Field ADDR_COUNTRY_CODE

Country code of address, named as in ISO 3166 alpha-3

public static final Field ADDR_COUNTRY_NAME

Country Name

public static final Field ADDR_STATE_NAME

Name of federal state

public static final Field ADDR_STATE_CODE

Code of federal state

public static final Field ADDR_PROVINCE_NAME

Province Name

public static final Field ADDR_COUNTY_NAME

County Name

public static final Field ADDR_CITY_NAME

City Name

public static final Field ADDR_DISTRICT_NAME

District Name

public static final Field ADDR_POSTAL_CODE

Postal Code

public static final Field ADDR_TOWNSHIP_NAME

Township Name

public static final Field ADDR_NEIGHBORHOOD_NAME

Name of the neighborhood within the city

public static final Field ADDR_STREET_NAME

Street name

public static final Field ADDR_HOUSE_NUMBER

House number of address. Can include characters.

public static final Field ADDR_CONTINENT_NAME

Continent name

public static final Field ADDR_TYPE_NAME

Type of address (city, street, etc.)

public static final Field ADDR_POPULATION

Population living at this address

public static final Field ADDR_BUILDING_NAME

Building Name

public static final Field ADDR_BUILDING_FLOOR

Building Floor

public static final Field ADDR_BUILDING_ROOM

Building Room

public static final Field ADDR_BUILDING_ZONE

Building Zone

public static final Field PLACE_NAME

Place Name

public static final Field PLACE_PRE_NAME

Place prefix.

public static final Field PLACE_POST_NAME

Place postfix.

public static final Field PLACE_TYPE

Type of the place (premium, adplace, recommendation, etc.)

public static final Field PLACE_CATEGORY

Name of the category of the place

public static final Field PLACE_CATEGORY_ID

The identifier (number as a string) of the category.

public static final Field PLACE_DESCRIPTION

Short description of the place. Also used as input for place search.

public static final Field PLACE_PHONE_NUMBER

Phone number of the place.

public static final Field PLACE_URL

URL belonging to the place.

public static final Field PLACE_PREMIUM_URL_ID

Premium POI URL Id.

public static final Field PLACE_PREMIUM_NODE_ID

Premium POI Node Id.

public static final Field PLACE_ADVERTISEMENT_STRING

Advertisement string

public static final Field TZ_OFFSET_MINUTES

Time zone offset in minutes

public static final Field OTHER_DATA

Can be used to return some other information for the location.

public static final Field PLACE_ICON_ID

The place's icon identifier. This is for Plug-In usage only. S60 shall make use of PlaceCategoryDataStore.

public static final Field LOCATION_TYPE

ADDRESS, POI, STRING.

public static final Field LOCATION_META

Additional flags to mark results

public static final Field LOCATION_TEXT

Formatted text of the location

public static final Field ADDR_AREA_ID

Area Id

public static final Field FOREIGN_ID

Foreign ID

public static final Field FOREIGN_ID_SOURCE

Foreign ID source. MapCartoMarker markers will have a source of "pvid"

Method Details

public static Field valueOf (String name)

This method retrieves the enumeration value that matches the name specified by the caller.

Parameters:

  • name

    A string containing the name of the enumeration member whose value is to be retrieved.

public static LocationInfo.Field[] values ()

This method retrieves an array of constants of the given enum type in the order in which they are declared.

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.