HERE Android SDK Developer's Guide

RecommendationState

The enumeration RecommendationState is a member of com.here.android.mpa.guidance.LaneInformation.

Enumeration Summary

public static final enumeration LaneInformation.RecommendationState

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

Recommendation for taking the lane according to the lane connectivity.

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in RecommendationState
Fields

public static final RecommendationState NOT_RECOMMENDED

The lane is not on the current route.

public static final RecommendationState RECOMMENDED

The lane is on the route at least up to the next decision point, but not for the whole part of the route for which connectivity information is available.

public static final RecommendationState HIGHLY_RECOMMENDED

The lane is on the current route for the whole part of the route for which connectivity information is available.

public static final RecommendationState NOT_AVAILABLE

Recommendation information is not available.

Method Summary

Table 2. Methods in RecommendationState
Methods

public int value ()

public static RecommendationState valueOf (String name)

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

public static LaneInformation.RecommendationState[] values ()

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

Enumeration Details

Recommendation for taking the lane according to the lane connectivity.

Enum Constant Details

The lane is not on the current route.

The lane is on the route at least up to the next decision point, but not for the whole part of the route for which connectivity information is available.

The lane is on the current route for the whole part of the route for which connectivity information is available.

public static final RecommendationState NOT_AVAILABLE

Recommendation information is not available.

Method Details

public int value ()

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

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