HERE Android SDK Developer's Guide

RoadSide

The enumeration RoadSide is a member of com.here.android.mpa.routing.RouteWaypoint.RoadInfo.

Enumeration Summary

public static final enumeration RouteWaypoint.RoadInfo.RoadSide

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

Represents side of the road, used to indicate position relative to a road, according to travel direction.

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in RoadSide
Fields

public static final RoadSide UNKNOWN_LEFT

Indicates location that is geometrically on the left side of the road geometry, but whose distance from it is so small or so large that the distinction might not be so obvious.

public static final RoadSide UNKNOWN_RIGHT

Indicates location that is geometrically on the right side of the road geometry, but whose distance from it is so small or so large that the distinction might not be so obvious.

public static final RoadSide LEFT

Indicates location on the left side of the road, according to direction of travel.

public static final RoadSide RIGHT

Indicates location on the right side of the road, according to direction of travel.

public static final RoadSide UNDEFINED

Indicates that a position relative to the road is undefined.

Method Summary

Table 2. Methods in RoadSide
Methods

public static RoadSide valueOf (String name)

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

public static RouteWaypoint.RoadInfo.RoadSide[] values ()

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

Enumeration Details

Represents side of the road, used to indicate position relative to a road, according to travel direction.

Enum Constant Details

public static final RoadSide UNKNOWN_LEFT

Indicates location that is geometrically on the left side of the road geometry, but whose distance from it is so small or so large that the distinction might not be so obvious.

public static final RoadSide UNKNOWN_RIGHT

Indicates location that is geometrically on the right side of the road geometry, but whose distance from it is so small or so large that the distinction might not be so obvious.

public static final RoadSide LEFT

Indicates location on the left side of the road, according to direction of travel.

public static final RoadSide RIGHT

Indicates location on the right side of the road, according to direction of travel.

public static final RoadSide UNDEFINED

Indicates that a position relative to the road is undefined.

Method Details

public static RoadSide 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 RouteWaypoint.RoadInfo.RoadSide[] values ()

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