HERE Android SDK Developer's Guide

Callback<ResultType>

The interface Callback<ResultType> is a member of com.here.android.mpa.customlocation2.CLE2Task.

Type Parameters:

  • ResultType

    data type of result

Interface Summary

public static abstract interface CLE2Task.Callback

Used to notify the client of the result of the operation.

[For complete information, see the section Interface Details]

Method Summary

Table 1. Methods in Callback<ResultType>
Methods

public abstract void onTaskFinished (ResultType result, CLE2Error error)

Called on main thread once CLE2Task finishes with a result and an error status.

Interface Details

Used to notify the client of the result of the operation.

Method Details

public abstract void onTaskFinished (ResultType result, CLE2Error error)

Called on main thread once CLE2Task finishes with a result and an error status.

Parameters:

  • result

    result of the operation if finished successfully, this value is meaningless on operation's failure

  • error

    error status carrying information on how the operation finished

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.