LaneRecommendationState (API Reference)
Enum Class LaneRecommendationState
- All Implemented Interfaces:
Serializable,Comparable<LaneRecommendationState>,Constable
Indicates whether this lane leads to the next maneuvers or not. The next maneuver is the next upcoming maneuver which is not yet reached, but that was already announced as new maneuver in [sdk.navigation.RouteProgress.maneuver_progress].
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis lane will lead the user to the next maneuver.This lane will not lead the user to the next maneuver.Only possible whenManeuverViewLaneAssistance.lanesForNextNextManeuveris not empty. -
Method Summary
Modifier and TypeMethodDescriptionstatic LaneRecommendationStateReturns the enum constant of this class with the specified name.static LaneRecommendationState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOT_RECOMMENDED
This lane will not lead the user to the next maneuver.
-
RECOMMENDED
Only possible when
ManeuverViewLaneAssistance.lanesForNextNextManeuveris not empty. IfManeuverViewLaneAssistance.lanesForNextNextManeuveris not empty, then this lane will lead the user only to the next maneuver, but not to the maneuver after the next maneuver. -
HIGHLY_RECOMMENDED
This lane will lead the user to the next maneuver. If
ManeuverViewLaneAssistance.lanesForNextNextManeuveris not empty, then this lane will lead the user to the next maneuver and to the maneuver after the next maneuver.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-