HERE Android SDK Developer's Guide

OnGetTransitInfoListener

The interface OnGetTransitInfoListener is a member of com.here.android.mpa.mapping.TransitDatabase.

Interface Summary

public static abstract interface TransitDatabase.OnGetTransitInfoListener

Represents a listener to provide information about TransitDatabase events.

[For complete information, see the section Interface Details]

Method Summary

Table 1. Methods in OnGetTransitInfoListener
Methods

public abstract void onEnd (Error error)

A callback indicating the end of available transit database results or an encountered error.

public abstract void onTransitAccessInfo (TransitAccessInfo info)

A callback indicating the availability of transit access information.

public abstract void onTransitLineInfo (TransitLineInfo info)

A callback indicating the availability of transit line information.

public abstract void onTransitStopInfo (TransitStopInfo info)

A callback indicating the availability of transit stop information.

public abstract void onTransitSystemInfo (TransitSystemInfo info)

A callback indicating the availability of transit system information.

Interface Details

Represents a listener to provide information about TransitDatabase events.

Method Details

public abstract void onEnd (Error error)

A callback indicating the end of available transit database results or an encountered error.

Parameters:

  • error

    A Error value

public abstract void onTransitAccessInfo (TransitAccessInfo info)

A callback indicating the availability of transit access information.

Parameters:

  • info

    A TransitAccessInfo for the requested transit access point

public abstract void onTransitLineInfo (TransitLineInfo info)

A callback indicating the availability of transit line information.

Parameters:

public abstract void onTransitStopInfo (TransitStopInfo info)

A callback indicating the availability of transit stop information.

Parameters:

public abstract void onTransitSystemInfo (TransitSystemInfo info)

A callback indicating the availability of transit system information.

Parameters:

  • info

    A TransitSystemInfo for the requested transit system