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 ()

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.