HERE Android SDK Developer's Guide

Place

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

Class Summary

public class Place

extends java.lang.Object

Represents information about a place like transit station, airport etc..

[For complete information, see the section Class Details]

Constructor Summary

Table 1. Constructors in Place
Constructors

Place (PlaceImpl impl)

Method Summary

Table 2. Methods in Place
Methods

public boolean equals (Object o)

public Address getAddress ()

Get the Address associated with this place.

public FeatureAvailability getBlindGuideAvailability ()

Indicates if blind guide is available at given place.

public int getDistanceFromCurrentLocation ()

Get distance from your current location to the place in meters.

public long getDurationFromCurrentLocation ()

Get duration from your current location to the place in seconds.

public FeatureAvailability getElevatorAvailability ()

Indicates if elevator is available at given place.

public FeatureAvailability getEscalatorAvailability ()

Indicates if escalator is available at given place.

public String getInfo ()

Gets optional informational text related to this place.

public java.util.Collection <Transport> getTransports ()

Gets the transports operating at this place.

public int hashCode ()

Class Details

Represents information about a place like transit station, airport etc..

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

Constructor Details

Place (PlaceImpl impl)

Parameters:

  • impl

Method Details

public boolean equals (Object o)

Parameters:

  • o

public Address getAddress ()

Get the Address associated with this place.

Returns:

place address

public FeatureAvailability getBlindGuideAvailability ()

Indicates if blind guide is available at given place.

Returns:

FeatureAvailability flag indicating blind guide availability

public int getDistanceFromCurrentLocation ()

Get distance from your current location to the place in meters. NOTE: It is available only if current location was specified in request.

Returns:

distance to the place in meters, or -1 if not available

public long getDurationFromCurrentLocation ()

Get duration from your current location to the place in seconds. NOTE: It is available only if current location was specified in request.

Returns:

duration to the place in seconds, or -1 if not available

public FeatureAvailability getElevatorAvailability ()

Indicates if elevator is available at given place.

Returns:

FeatureAvailability flag indicating elevator availability

public FeatureAvailability getEscalatorAvailability ()

Indicates if escalator is available at given place.

Returns:

FeatureAvailability flag indicating escalator availability

public String getInfo ()

Gets optional informational text related to this place.

Returns:

information text, or empty string if not available

public java.util.Collection <Transport> getTransports ()

Gets the transports operating at this place.

Returns:

collection of transports

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.