HERE Android SDK Developer's Guide

ResponseListener<T>

The interface ResponseListener<T> is a member of com.here.android.mpa.urbanmobility.RequestManager.

Type Parameters:

  • T

Interface Summary

public static abstract interface RequestManager.ResponseListener

Represents a listener to provide information about request result.

[For complete information, see the section Interface Details]

Method Summary

Table 1. Methods in ResponseListener<T>
Methods

public abstract void onError (ErrorCode errorCode, String errorMessage)

A callback indicating that a request has finished with error.

public abstract void onSuccess (T requestResult)

A callback indicating that a request has finished with success.

Interface Details

Represents a listener to provide information about request result.

Method Details

public abstract void onError (ErrorCode errorCode, String errorMessage)

A callback indicating that a request has finished with error.

Parameters:

  • errorCode

    Error code.

  • errorMessage

    Error description string, or null if not available.

public abstract void onSuccess (T requestResult)

A callback indicating that a request has finished with success.

Parameters:

  • requestResult

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.