HERE Android SDK Developer's Guide

Request<T>

The class Request<T> is a member of com.here.android.mpa.search .

Type Parameters:

  • T

    Data type for results

Class Summary

public abstract class Request

extends java.lang.Object

Represents a base class for a search request.

[For complete information, see the section Class Details]

Field Summary

Table 1. Fields in Request<T>
Fields

public static final String PLACE_CONTENT_WIKIPEDIA

Name used to get editorial wikipedia content in place details response.

public static final String PVID_ID_REFERENCE_NAME

Name used to get core POI identifier references.

public static final String VENUES_CONTENT_ID_REFERENCE_NAME

Name used to get only venues.content identifier references.

public static final String VENUES_DESTINATION_ID_REFERENCE_NAME

Name used to get only venues.destination identifier references.

public static final String VENUES_ID_REFERENCE_NAME

Name used to get all venues identifier references.

public static final String VENUES_VENUE_ID_REFERENCE_NAME

Name used to get only venues.venue identifier references.

Method Summary

Table 2. Methods in Request<T>
Methods

public boolean cancel ()

Cancels any pending results from an invoked request.

Class Details

Represents a base class for a search request.

Field Details

See also:

addReference(String)

getReference(String)

addReference(String)

getReference(String)

public static final String PLACE_CONTENT_WIKIPEDIA

Name used to get editorial wikipedia content in place details response.

Use addContent(String) to specify PLACE_CONTENT_WIKIPEDIA content source in PlaceRequest.

See also:

getContent()

getEditorials()

EditorialMedia

public static final String PVID_ID_REFERENCE_NAME

Name used to get core POI identifier references.

Use addReference(String) to be able to retrieve the POI identifier from the returned PlaceLink (using getReference(String)).

The POI identifier can also be retrieved using addReference(String) and getReference(String).

See also:

addReference(String)

getReference(String)

addReference(String)

getReference(String)

public static final String VENUES_CONTENT_ID_REFERENCE_NAME

Name used to get only venues.content identifier references.

Use addReference(String) to be able to retrieve the venues.content identifier from the returned PlaceLink (using getReference(String) ).

The venues.content identifier can also be retrieved using addReference(String) and getReference(String).

See also:

addReference(String)

getReference(String)

addReference(String)

getReference(String)

public static final String VENUES_DESTINATION_ID_REFERENCE_NAME

Name used to get only venues.destination identifier references.

Use addReference(String) to be able to retrieve the venues.destination identifier from the returned PlaceLink (using getReference(String)).

The venues.destination identifier can also be retrieved using addReference(String) and getReference(String).

See also:

addReference(String)

getReference(String)

addReference(String)

getReference(String)

public static final String VENUES_ID_REFERENCE_NAME

Name used to get all venues identifier references.

Use addReference(String) to be able to retrieve all venues identifier from the returned PlaceLink (using getReference(String) ).

The venues identifier can also be retrieved using addReference(String) and getReference(String).

This reference name can be used retrieve all the different venues identifiers, namely: VENUES_CONTENT_ID_REFERENCE_NAME, VENUES_DESTINATION_ID_REFERENCE_NAME and VENUES_VENUE_ID_REFERENCE_NAME.

See also:

addReference(String)

getReference(String)

addReference(String)

getReference(String)

public static final String VENUES_VENUE_ID_REFERENCE_NAME

Name used to get only venues.venue identifier references.

Use addReference(String) to be able to retrieve the venues.venue identifier from the returned PlaceLink (using getReference(String) ).

The venues.venue identifier can also be retrieved using addReference(String) and getReference(String).

See also:

addReference(String)

getReference(String)

addReference(String)

getReference(String)

Method Details

public boolean cancel ()

Cancels any pending results from an invoked request.

Returns:

True if the request was canceled successfully, false otherwise