HERE Android SDK Developer's Guide

TransitLineObject

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

Class Summary

public final class TransitLineObject

extends com.here.android.mpa.mapping.MapProxyObject, com.here.android.mpa.common.ViewObject, java.lang.Object

Encapsulates information about a public transit line on a map.

[For complete information, see the section Class Details]

See also:

TransitLineInfo

Method Summary

Table 1. Methods in TransitLineObject
Methods

public Identifier getLineId ()

Gets the unique Identifier for the TransitLineObject .

Class Details

Encapsulates information about a public transit line on a map.

A TransitLineObject represents a specialized MapProxyObject . User can retrieve an instance of this object by calling getSelectedObjects(PointF) or getSelectedObjects(ViewRect) with the location where a public transit line is located.

See also:

TransitLineInfo

Method Details

public Identifier getLineId ()

Gets the unique Identifier for the TransitLineObject . Applications can use this Identifier to highlight the transit line and to get information about the line.

Returns:

The Identifier

See also:

highlightTransitLines(List<Identifier>)

getLineInfo(Identifier, OnGetTransitInfoListener)

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.