HERE Android SDK Developer's Guide

AbstractListRequest<T>

The class AbstractListRequest<T> is a member of com.here.android.mpa.urbanmobility .

Type Parameters:

  • T

    specifies the type of the object returned when executing this request.

Class Summary

public abstract class AbstractListRequest

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

Represents an abstract request that expects List as a result, and provides access to common request parameters.

[For complete information, see the section Class Details]

Constructor Summary

Table 1. Constructors in AbstractListRequest<T>
Constructors

AbstractListRequest ()

Method Summary

Table 2. Methods in AbstractListRequest<T>
Methods

public AbstractRequest<T> setMaximumResults (int maxResults)

Sets the maximum number of results to be returned in the response.

Class Details

Represents an abstract request that expects List as a result, and provides access to common request parameters. All setter methods return the current instance, so these calls can be chained.

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

Constructor Details

AbstractListRequest ()

Method Details

public AbstractRequest<T> setMaximumResults (int maxResults)

Sets the maximum number of results to be returned in the response. It is not set by default.

Parameters:

  • maxResults

    number of results in response, must be greater than 0

Returns:

this request instance

Throws:

  • IllegalArgumentException

    if maxResults is invalid.