HERE Android SDK Developer's Guide

ResultListener<T>

The interface ResultListener<T> is a member of com.here.android.mpa.search .

Type Parameters:

  • T

    Listener data type

Interface Summary

public abstract interface ResultListener

Represents an event listener that reports information about the completion of a request.

[For complete information, see the section Interface Details]

Method Summary

Table 1. Methods in ResultListener<T>
Methods

public abstract void onCompleted (T data, ErrorCode error)

A callback indicating that a request operation has completed.

Interface Details

Represents an event listener that reports information about the completion of a request.

Method Details

public abstract void onCompleted (T data, ErrorCode error)

A callback indicating that a request operation has completed.

Parameters:

  • data

    Search results (can be null if no results were found or an error was encountered). E.g. if there is no map data due to working offline, null is returned.

  • error

    An ErrorCode representing an appropriate result. ErrorCode.NOT_FOUND is returned if there are no search results.

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.