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)