HERE Android SDK Developer's Guide

TransitLinesAttribute

The class TransitLinesAttribute is a member of com.here.android.mpa.search .

Class Summary

public class TransitLinesAttribute

extends com.here.android.mpa.search.ExtendedAttribute, java.lang.Object

Represents a Transit Lines Extended Attribute that is associated with public transport stop/station and contains information about the lines and destinations.

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in TransitLinesAttribute
Methods

public java.util.List <TransitDestination> getDestinations ()

Gets list of destinations served from this stop/station.

public java.util.Map <java.lang.String, com.here.android.mpa.search.TransitLine> getLines ()

Gets collection of public transport lines using this stop/station.

Class Details

Represents a Transit Lines Extended Attribute that is associated with public transport stop/station and contains information about the lines and destinations.

Method Details

public java.util.List <TransitDestination> getDestinations ()

Gets list of destinations served from this stop/station.

Returns:

List of TransitDesitnation information.

public java.util.Map <java.lang.String, com.here.android.mpa.search.TransitLine> getLines ()

Gets collection of public transport lines using this stop/station.

Returns:

Map collection of transport line stop/station name to TransitLine information.