HERE Android SDK Developer's Guide

CitySearchResult

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

Class Summary

public class CitySearchResult

extends java.lang.Object

Represents detailed information about found cities and related coverage.

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in CitySearchResult
Methods

public boolean equals (Object o)

public java.util.List <City> getCities ()

Gets cities with detailed coverage data.

public int getRealTimeCount ()

Gets total count of CoverageType.REAL_TIME supported cities.

public Date getRefTime ()

Get time of most updated available coverage data.

public int getSimpleRoutingCount ()

Gets total count of CoverageType.SIMPLE_ROUTING supported cities.

public int getTimeTableCount ()

Gets total count of CoverageType.TIME_TABLE supported cities.

public int hashCode ()

Class Details

Represents detailed information about found cities and related coverage.

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 java.util.List <City> getCities ()

Gets cities with detailed coverage data.

Returns:

List of cities.

public int getRealTimeCount ()

Gets total count of CoverageType.REAL_TIME supported cities.

Returns:

Number of CoverageType.REAL_TIME supported cities.

public Date getRefTime ()

Get time of most updated available coverage data. Client can save this and when checking for new updates, set the time parameter as this value.

Returns:

Time of most updated available coverage data.

public int getSimpleRoutingCount ()

Gets total count of CoverageType.SIMPLE_ROUTING supported cities.

Returns:

Number of CoverageType.SIMPLE_ROUTING supported cities.

public int getTimeTableCount ()

Gets total count of CoverageType.TIME_TABLE supported cities.

Returns:

Number of CoverageType.TIME_TABLE supported cities.

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.