HERE Android SDK Developer's Guide

CitySearchRequest

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

Class Summary

public class CitySearchRequest

extends com.here.android.mpa.urbanmobility.AbstractListRequest, com.here.android.mpa.urbanmobility.AbstractRequest, java.lang.Object

Represents a request to search city by name and get public transit data coverage for it.

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in CitySearchRequest
Methods

public CitySearchRequest setRequestCityDetailsEnabled (boolean details)

Set if city details (such as population and available operators) should be returned.

Class Details

Represents a request to search city by name and get public transit data coverage for it. All setter methods return the current instance, so these calls can be chained.

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

Method Details

public CitySearchRequest setRequestCityDetailsEnabled (boolean details)

Set if city details (such as population and available operators) should be returned. It is true by default.

Parameters:

  • details

    true if city details should be returned, false otherwise

Returns:

this request instance