HERE Android SDK Developer's Guide

TransitLineStyle

The enumeration TransitLineStyle is a member of com.here.android.mpa.routing.TransitManeuver.

Enumeration Summary

public static final enumeration TransitManeuver.TransitLineStyle

extends java.lang.Enum, java.lang.Object

Represents values describing different line styles.

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in TransitLineStyle
Fields

public static final TransitLineStyle SOLID

A solid line.

public static final TransitLineStyle DOTTED

A dotted line.

public static final TransitLineStyle DASHED

A dashed line.

public static final TransitLineStyle UNDEFINED

An undefined line style.

Method Summary

Table 2. Methods in TransitLineStyle
Methods

public int value ()

public static TransitLineStyle valueOf (String name)

This method retrieves the enumeration value that matches the name specified by the caller.

public static TransitManeuver.TransitLineStyle[] values ()

This method retrieves an array of constants of the given enum type in the order in which they are declared.

Enumeration Details

Represents values describing different line styles. Used for expressing transit line styling information as provided by the operator.

Enum Constant Details

public static final TransitLineStyle SOLID

A solid line.

public static final TransitLineStyle DOTTED

A dotted line.

public static final TransitLineStyle DASHED

A dashed line.

public static final TransitLineStyle UNDEFINED

An undefined line style.

Method Details

public int value ()

public static TransitLineStyle valueOf (String name)

This method retrieves the enumeration value that matches the name specified by the caller.

Parameters:

  • name

    A string containing the name of the enumeration member whose value is to be retrieved.

public static TransitManeuver.TransitLineStyle[] values ()

This method retrieves an array of constants of the given enum type in the order in which they are declared.