HERE Android SDK Developer's Guide

CLE2ResultListener

The interface CLE2ResultListener is a member of com.here.android.mpa.customlocation2.CLE2Request.

Interface Summary

public static abstract interface CLE2Request.CLE2ResultListener

Represents a listener that reports information about the completion of a custom location search CLE2Request.

[For complete information, see the section Interface Details]

Method Summary

Table 1. Methods in CLE2ResultListener
Methods

public abstract void onCompleted (CLE2Result result, String error)

A callback indicating the completion of a custom location request

Interface Details

Represents a listener that reports information about the completion of a custom location search CLE2Request.

Method Details

public abstract void onCompleted (CLE2Result result, String error)

A callback indicating the completion of a custom location request

Parameters:

  • result

    Represents the data result of location request. If request failed, result should be ignored.

  • error

    Represents the status of the location request. If None, the request was processed successfully, otherwise, one of the other error codes will be returned.