HERE Android SDK Developer's Guide

ReverseGeocodeRequest2

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

Class Summary

public class ReverseGeocodeRequest2

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

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

[For complete information, see the section Class Details]

Constructor Summary

Table 1. Constructors in ReverseGeocodeRequest2
Constructors

ReverseGeocodeRequest2 (GeoCoordinate location)

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

ReverseGeocodeRequest2 (GeoCoordinate location, Locale locale)

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

Method Summary

Table 2. Methods in ReverseGeocodeRequest2
Methods

public ErrorCode execute (ResultListener<Location> listener)

Executes an asynchronous request.

Class Details

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

Note: the response to a ReverseGeocodeRequest2 is a single Location object.

Constructor Details

ReverseGeocodeRequest2 (GeoCoordinate location)

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

Parameters:

  • location

    A GeoCoordinate representing the query location context

Throws:

  • IllegalArgumentException

    Upon a failure to handle a passed argument

ReverseGeocodeRequest2 (GeoCoordinate location, Locale locale)

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

Parameters:

  • location

    A GeoCoordinate representing the query location context

  • locale

    A Locale locale in which the response should be returned

Throws:

  • IllegalArgumentException

    Upon a failure to handle a passed argument

Method Details

public ErrorCode execute (ResultListener<Location> listener)

Executes an asynchronous request.

Parameters:

  • listener

    A ResultListener passed along with the request to monitor progress

Returns:

The ErrorCode representing an appropriate result

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.