HERE Android SDK Developer's Guide

Address

The class Address is a member of com.here.android.mpa.urbanmobility .

Class Summary

public final class Address

extends java.lang.Object

Represents information about an address: coordinates, street name, postal code etc.

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in Address
Methods

public boolean equals (Object o)

public String getCity ()

Get the name of the city.

public GeoCoordinate getCoordinate ()

Get coordinates corresponding to this address.

public String getCountry ()

Get the name of the country.

public String getCountryCode ()

Get 3 letter ISO 3166-1 country code.

public String getDistrict ()

Get the city district name.

public String getHouseNumber ()

Get the house number.

public String getName ()

Get the name of the place at this address if available, empty string otherwise.

public String getOpeningHours ()

Gets opening hours of a parking lot

public String getParkingId ()

Gets unique identifier for a parking lot

public Boolean getPnR ()

Gets whether parking lot is designated specifically for Park and Ride

public String getPostalCode ()

Get the postal code.

public Integer getSpaces ()

Gets number of parking spaces available in a parking lot

public String getState ()

Get the country state name, if applicable.

public String getStreet ()

Get the street name.

public int hashCode ()

Class Details

Represents information about an address: coordinates, street name, postal code etc.

IMPORTANT: Urban Mobility is a Beta feature. The related classes are subject to change without notice.

Method Details

public boolean equals (Object o)

Parameters:

  • o

public String getCity ()

Get the name of the city.

Returns:

city name

public GeoCoordinate getCoordinate ()

Get coordinates corresponding to this address. NOTE: Same Addresses (same postal code, street name, house number etc.) may potentially have different coordinates, please be aware of that.

Returns:

coordinates associated with this address

public String getCountry ()

Get the name of the country.

Returns:

name of the country

public String getCountryCode ()

Get 3 letter ISO 3166-1 country code.

Returns:

ISO country code

public String getDistrict ()

Get the city district name.

Returns:

district name

public String getHouseNumber ()

Get the house number.

Returns:

house number

public String getName ()

Get the name of the place at this address if available, empty string otherwise.

Returns:

name of the place or empty string if not available

public String getOpeningHours ()

Gets opening hours of a parking lot

Returns:

opening hours of a parking lot

public String getParkingId ()

Gets unique identifier for a parking lot

Returns:

unique identifier for a parking lot

public Boolean getPnR ()

Gets whether parking lot is designated specifically for Park and Ride

Returns:

whether parking lot is designated specifically for Park and Ride

public String getPostalCode ()

Get the postal code.

Returns:

postal code

public Integer getSpaces ()

Gets number of parking spaces available in a parking lot

Returns:

number of parking spaces available in a parking lot

public String getState ()

Get the country state name, if applicable.

Returns:

state name

public String getStreet ()

Get the street name.

Returns:

street name

public int hashCode ()

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.