HERE Android SDK Developer's Guide

NearbyCoverageResult

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

Class Summary

public class NearbyCoverageResult

extends java.lang.Object

Represents information about nearby stops, lines, and city (in case if the user is assumed to be in one).

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in NearbyCoverageResult
Methods

public boolean equals (Object o)

public City getCity ()

Gets coverage information about a city.

public ExploredCoverage getExploredCoverage ()

Gets information about what is available in the more remote vicinity.

public String getGeoRef ()

Gets reference to the user's location as Geohash (e.g.

public int getRadius ()

Gets the radius, in meters, for which the coverage information is provided.

public int getStopsCount ()

Gets number of stops found.

public int getTransportsCount ()

Gets the number of transports found.

public CoverageType getType ()

Gets type of coverage in this area

public int hashCode ()

public boolean isCovered ()

Gets whether or not the user is considered to be covered.

Class Details

Represents information about nearby stops, lines, and city (in case if the user is assumed to be in one).

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

Method Details

public boolean equals (Object o)

Parameters:

  • o

public City getCity ()

Gets coverage information about a city.

Returns:

Coverage information about a city, or null if not available.

public ExploredCoverage getExploredCoverage ()

Gets information about what is available in the more remote vicinity. Routing is based on this information as soon as the user location has changed.

Returns:

Explored coverage information, or null if not available.

public String getGeoRef ()

Gets reference to the user's location as Geohash (e.g. "u33d") that can be used to collect feedback without disclosing the user's exact location.

Returns:

User location reference as Geohash string.

public int getRadius ()

Gets the radius, in meters, for which the coverage information is provided. The default value of radius is 150000m.

Returns:

Radius for which the coverage information is provided.

public int getStopsCount ()

Gets number of stops found.

Returns:

Number of stops found.

public int getTransportsCount ()

Gets the number of transports found.

Returns:

Number of transports found.

public CoverageType getType ()

Gets type of coverage in this area

Returns:

Type of coverage in this area.

public int hashCode ()

public boolean isCovered ()

Gets whether or not the user is considered to be covered.

Returns:

True if user is considered to be covered otherwise false.

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.