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