HERE Android SDK Developer's Guide

TransitLineSegmentObject

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

Class Summary

public final class TransitLineSegmentObject

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

Encapsulates information about a transit line segment on the map.

[For complete information, see the section Class Details]

See also:

getSelectedObjects(PointF)

getSelectedObjectsNearby(PointF)

getSelectedObjects(ViewRect)

onMapObjectsSelected(List<ViewObject>)

Method Summary

Table 1. Methods in TransitLineSegmentObject
Methods

public Identifier getLineId ()

Returns the transit line info Identifier.

public Identifier getLineSegmentId ()

Returns the transit line segment Identifier .

Class Details

Encapsulates information about a transit line segment on the map. TransitLineSegmentObject s are returned when they are selected on Map .

See also:

getSelectedObjects(PointF)

getSelectedObjectsNearby(PointF)

getSelectedObjects(ViewRect)

onMapObjectsSelected(List<ViewObject>)

Method Details

public Identifier getLineId ()

Returns the transit line info Identifier. The Identifier can be used to highlight the transit line and to get transit line info.

Returns:

the unique object Identifier.

See also:

highlightTransitLines(List<Identifier>)

getLineInfo(Identifier, OnGetTransitInfoListener)

public Identifier getLineSegmentId ()

Returns the transit line segment Identifier . A transit line segment is a section of a line. The Identifier can be used to highlight the transit line segment.

Returns:

the unique object Identifier.

See also:

highlightTransitLineSegments(List<Identifier>)