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 ()