HERE Android SDK Developer's Guide

Listener<T>

The interface Listener<T> is a member of com.here.android.mpa.tce.TollCostRequest.

Type Parameters:

  • T

    Listener data type.

Interface Summary

public static abstract interface TollCostRequest.Listener

Represents a listener that reports information about the completion of a TollCostRequest TollCostRequest.

[For complete information, see the section Interface Details]

Method Summary

Table 1. Methods in Listener<T>
Methods

public abstract void onComplete (T data, TollCostError error)

A callback indicating that a request operation has completed.

Interface Details

Represents a listener that reports information about the completion of a TollCostRequest TollCostRequest.

Method Details

public abstract void onComplete (T data, TollCostError error)

A callback indicating that a request operation has completed.

Parameters:

  • data

    Search results (can be null if an error was encountered).

  • error

    An TollCostError representing an appropriate error/success conditions.