HERE Android SDK Developer's Guide

EnhancedRoadLane

The class EnhancedRoadLane is a member of com.here.android.mpa.guidance .

Class Summary

public final class EnhancedRoadLane

extends java.lang.Object

Describes Enhanced Information for a single Road Lane.

Deprecated: As of SDK 3.2.

[For complete information, see the section Class Details]

Nested Class Summary

Table 1. Nested Classes in EnhancedRoadLane
Nested Classes

public static final enumeration EnhancedRoadLane.Arrow

Direction arrow printed on the lane.

public static final enumeration EnhancedRoadLane.CrossingRestriction

Crossing restriction to enter or exit a HOV lane.

public static final enumeration EnhancedRoadLane.Direction

Lane travel direction

public static final enumeration EnhancedRoadLane.Marking

Marking type of the EnhancedRoadLane

public static final enumeration EnhancedRoadLane.Type

Represents the type of EnhancedRoadLane

Method Summary

Table 2. Methods in EnhancedRoadLane
Methods

public java.util.EnumSet <Arrow> getArrows ()

Deprecated: As of SDK 3.2.

Types of EnhancedRoadLane.Arrow printed on the lane

public Marking getCenterMarking ()

Deprecated: As of SDK 3.2.

Gets the divider marking type for the center mark.

public CrossingRestriction getCrossingRestriction ()

Deprecated: As of SDK 3.2.

Crossing Restriction is a lane attribute indicating where it is illegal to enter or exit a HOV lane.

public Direction getDirection ()

Deprecated: As of SDK 3.2.

Lane travel direction

public Marking getDividerMarking ()

Deprecated: As of SDK 3.2.

Gets the divider marking type for side marks.

public int getFromSpeedLimit ()

Deprecated: As of SDK 3.2.

Speed limit on lanes in the positive lane direction in km/h.

public int getHeightRestriction ()

Deprecated: As of SDK 3.2.

Gets height restriction in cm with precision zero.

public int getToSpeedLimit ()

Deprecated: As of SDK 3.2.

Speed limit on lanes in the negative lane direction in km/h.

public java.util.EnumSet <Type> getTypes ()

Deprecated: As of SDK 3.2.

Types of EnhancedRoadLane

public int getWidth ()

Deprecated: As of SDK 3.2.

Gets the lane width in cm with precision zero.

Class Details

Deprecated: As of SDK 3.2.

Use LaneInformation instead.

Describes Enhanced Information for a single Road Lane.

Method Details

public java.util.EnumSet <Arrow> getArrows ()

Deprecated: As of SDK 3.2.

Use LaneInformation.getDirections() instead.

Types of EnhancedRoadLane.Arrow printed on the lane

Returns:

The set of all EnhancedRoadLane.Arrow types

public Marking getCenterMarking ()

Deprecated: As of SDK 3.2.

Use LaneInformation.getCenterMarking() instead.

Gets the divider marking type for the center mark.

Returns:

EnhancedRoadLane.Marking

public CrossingRestriction getCrossingRestriction ()

Deprecated: As of SDK 3.2.

Use LaneInformation.getCrossingRestriction() instead.

Crossing Restriction is a lane attribute indicating where it is illegal to enter or exit a HOV lane.

Returns:

EnhancedRoadLane.CrossingRestriction

public Direction getDirection ()

Deprecated: As of SDK 3.2.

Lane travel direction

Returns:

the EnhancedRoadLane.Direction of the lane

public Marking getDividerMarking ()

Deprecated: As of SDK 3.2.

Use LaneInformation.getDividerMarking() instead.

Gets the divider marking type for side marks.

Returns:

EnhancedRoadLane.Marking

public int getFromSpeedLimit ()

Deprecated: As of SDK 3.2.

Use LaneInformation.getSpeedLimit() instead.

Speed limit on lanes in the positive lane direction in km/h.

Returns:

speed limit, zero if information not available. If speed limit is not available, please use speed limit of the current road.

public int getHeightRestriction ()

Deprecated: As of SDK 3.2.

Use LaneInformation.getHeightRestriction() instead.

Gets height restriction in cm with precision zero.

Returns:

height restriction, zero if there is no restriction.

public int getToSpeedLimit ()

Deprecated: As of SDK 3.2.

Use LaneInformation.getSpeedLimit() instead.

Speed limit on lanes in the negative lane direction in km/h.

Returns:

speed limit, 0 if information not available. If speed limit is not available, please use speed limit of the current road.

public java.util.EnumSet <Type> getTypes ()

Deprecated: As of SDK 3.2.

Use LaneInformation type methods instead (e.g. LaneInformation.isRegular()).

Types of EnhancedRoadLane

Returns:

The set of all types this lane belongs to

public int getWidth ()

Deprecated: As of SDK 3.2.

Use LaneInformation.getWidth() instead.

Gets the lane width in cm with precision zero.

Returns:

width, zero if lane width is not available.

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.