HERE Android SDK Developer's Guide

OnGetTransitInfoListenerAdapter

The class OnGetTransitInfoListenerAdapter is a member of com.here.android.mpa.mapping.TransitDatabase.

Class Summary

public static abstract class TransitDatabase.OnGetTransitInfoListenerAdapter

   implements com.here.android.mpa.mapping.TransitDatabase.OnGetTransitInfoListener

extends java.lang.Object

Represents a listener to provide information about TransitDatabase events.

[For complete information, see the section Class Details]

Constructor Summary

Table 1. Constructors in OnGetTransitInfoListenerAdapter
Constructors

OnGetTransitInfoListenerAdapter ()

Method Summary

Table 2. Methods in OnGetTransitInfoListenerAdapter
Methods

public abstract void onEnd (Error error)

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

public void onTransitAccessInfo (TransitAccessInfo info)

A callback indicating the availability of transit access information.

public void onTransitLineInfo (TransitLineInfo info)

A callback indicating the availability of transit line information.

public void onTransitStopInfo (TransitStopInfo info)

A callback indicating the availability of transit stop information.

public void onTransitSystemInfo (TransitSystemInfo info)

A callback indicating the availability of transit system information.

Class Details

Represents a listener to provide information about TransitDatabase events.

Constructor Details

OnGetTransitInfoListenerAdapter ()

Method Details

public abstract void onEnd (Error error)

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

Parameters:

  • error

    An appropriate Error value

public void onTransitAccessInfo (TransitAccessInfo info)

A callback indicating the availability of transit access information.

Parameters:

  • info

    A TransitAccessInfo for the requested transit access point

public void onTransitLineInfo (TransitLineInfo info)

A callback indicating the availability of transit line information.

Parameters:

public void onTransitStopInfo (TransitStopInfo info)

A callback indicating the availability of transit stop information.

Parameters:

public void onTransitSystemInfo (TransitSystemInfo info)

A callback indicating the availability of transit system information.

Parameters:

  • info

    A TransitSystemInfo for the requested transit system