HERE Android SDK Developer's Guide

ReverseGeocodeRequest

The class ReverseGeocodeRequest is a member of com.here.android.mpa.search .

Class Summary

public class ReverseGeocodeRequest

extends com.here.android.mpa.search.Request, java.lang.Object

The ReverseGeocodeRequest represents an extended Request used to retrieve Address data by way of Geocoder search services.

[For complete information, see the section Class Details]

Constructor Summary

Table 1. Constructors in ReverseGeocodeRequest
Constructors

ReverseGeocodeRequest (GeoCoordinate location)

Creates a reverse geocoder request that resolves a GeoCoordinate into an Address.

Method Summary

Table 2. Methods in ReverseGeocodeRequest
Methods

public ErrorCode execute (ResultListener<Address> listener)

Executes an asynchronous request.

Class Details

The ReverseGeocodeRequest represents an extended Request used to retrieve Address data by way of Geocoder search services.

Note: the response to a ReverseGeocodeRequest is a single Address object.

Constructor Details

ReverseGeocodeRequest (GeoCoordinate location)

Creates a reverse geocoder request that resolves a GeoCoordinate into an Address.

Parameters:

  • location

    A GeoCoordinate representing the query location context

Throws:

  • IllegalArgumentException

    Upon a failure to handle the received argument.

Method Details

public ErrorCode execute (ResultListener<Address> listener)

Executes an asynchronous request.

Parameters:

  • listener

    A ResultListener passed along with the request to monitor progress

Returns:

The ErrorCode representing an appropriate result