HERE Android SDK Developer's Guide

PluralType

The enumeration PluralType is a member of com.here.android.mpa.common.RoadElement.

Enumeration Summary

public static final enumeration RoadElement.PluralType

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

Plural type identifies when a Junction is made up of multiple Road Elements.

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in PluralType
Fields

public static final PluralType NONE

Junction is not plural

public static final PluralType MANEUVER

Indicates that only one command should be given despite the fact that two Junctions occur; one at each end of the turn lane.

public static final PluralType CONNECTOR

Indicates that a road segment should not be viewed as an individual piece of road but as part of the intersection.

public static final PluralType INDETERMINATE

Indicates a maneuver that cannot be explained in one command or at all.

Method Summary

Table 2. Methods in PluralType
Methods

public static PluralType valueOf (String name)

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

public static RoadElement.PluralType[] values ()

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

Enumeration Details

Plural type identifies when a Junction is made up of multiple Road Elements. It also implies that a maneuver may require different explanation than implied by the geometry.

Enum Constant Details

public static final PluralType NONE

Junction is not plural

public static final PluralType MANEUVER

Indicates that only one command should be given despite the fact that two Junctions occur; one at each end of the turn lane. It is only necessary to state "turn right" near the beginning of the maneuver because at the end the driver does not have a choice in direction.

public static final PluralType CONNECTOR

Indicates that a road segment should not be viewed as an individual piece of road but as part of the intersection. A separate guidance maneuver should not exist for this segment. For example, if making a u-turn in Example A in Figure 4B-113, the driver should receive the instruction to "make the u-turn" and not "turn left, turn left".

public static final PluralType INDETERMINATE

Indicates a maneuver that cannot be explained in one command or at all. A graphic may be needed to illustrate the turn. In these situations a driver may need to go right to make a left turn.

Method Details

public static PluralType 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 RoadElement.PluralType[] values ()

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