HERE Android SDK Developer's Guide

TransitLineStyle

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

Class Summary

public class TransitLineStyle

extends java.lang.Object

Represents the styling guideline information for the public transport line.

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in TransitLineStyle
Methods

public boolean equals (Object obj)

public String getColor ()

Gets the color value assigned to a line.

public String getIconShape ()

Gets the shape style identifying the icon for the line.

public String getOutlineColor ()

Gets the color of the border around the line name.

public String getTextColor ()

Gets the text color that should get used when the line color is used as background color.

public int hashCode ()

For documentation, see java.lang.Object

Class Details

Represents the styling guideline information for the public transport line. All colors are in hex format.

Method Details

public boolean equals (Object obj)

Parameters:

  • obj

public String getColor ()

Gets the color value assigned to a line.

Returns:

The line color value (hex format).

public String getIconShape ()

Gets the shape style identifying the icon for the line.

Returns:

The icon shape.

public String getOutlineColor ()

Gets the color of the border around the line name.

Returns:

The line border color value (hex format).

public String getTextColor ()

Gets the text color that should get used when the line color is used as background color.

Returns:

The text color value (hex format).

public int hashCode ()

For documentation, see java.lang.Object

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.