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

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.