HERE Android SDK Developer's Guide

TransitLine

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

Class Summary

public class TransitLine

extends java.lang.Object

Represents a public transport line.

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in TransitLine
Methods

public boolean equals (Object obj)

For documentation, see java.lang.Object

public String getDestination ()

Gets the line destination.

public TransitLineCategory getLineCategory ()

Gets the category information for the line.

public String getName ()

Gets the line name.

public String getOperator ()

Gets the operator serving the line.

public TransitLineStyle getStyle ()

Gets the style guideline information for the line.

public int hashCode ()

Class Details

Represents a public transport line.

Method Details

public boolean equals (Object obj)

For documentation, see java.lang.Object

Parameters:

  • obj

public String getDestination ()

Gets the line destination.

Returns:

The line destination.

public TransitLineCategory getLineCategory ()

Gets the category information for the line.

Returns:

The TransitLineCategory information.

public String getName ()

Gets the line name.

Returns:

The line name

public String getOperator ()

Gets the operator serving the line.

Returns:

The line operator.

public TransitLineStyle getStyle ()

Gets the style guideline information for the line.

Returns:

The TransitLineStyle information.

public int hashCode ()