Package com.baidu.navisdk.adapter.struct
Enum BNLaneAction
- java.lang.Object
-
- java.lang.Enum<BNLaneAction>
-
- com.baidu.navisdk.adapter.struct.BNLaneAction
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BNLaneAction>
public enum BNLaneAction extends java.lang.Enum<BNLaneAction>
车信行为常量定义 Created by hexiaojiang on 2026/9/11
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BNLaneActionfromValue(int value)根据协议值查找对应的枚举java.lang.StringgetDesc()intgetValue()static BNLaneActionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static BNLaneAction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTION_NULL
public static final BNLaneAction ACTION_NULL
未定义
-
LANE_ACTION_AHEAD
public static final BNLaneAction LANE_ACTION_AHEAD
直行
-
LANE_ACTION_LEFT
public static final BNLaneAction LANE_ACTION_LEFT
左转
-
LANE_ACTION_AHEAD_LEFT
public static final BNLaneAction LANE_ACTION_AHEAD_LEFT
直行+左转
-
LANE_ACTION_RIGHT
public static final BNLaneAction LANE_ACTION_RIGHT
右转
-
LANE_ACTION_AHEAD_RIGHT
public static final BNLaneAction LANE_ACTION_AHEAD_RIGHT
直行+右转
-
LANE_ACTION_LEFT_U_TURN
public static final BNLaneAction LANE_ACTION_LEFT_U_TURN
左调头
-
LANE_ACTION_LEFT_RIGHT
public static final BNLaneAction LANE_ACTION_LEFT_RIGHT
左转+右转
-
LANE_ACTION_AHEAD_LEFT_RIGHT
public static final BNLaneAction LANE_ACTION_AHEAD_LEFT_RIGHT
直行+左转+右转
-
LANE_ACTION_RIGHT_U_TURN
public static final BNLaneAction LANE_ACTION_RIGHT_U_TURN
右掉头
-
LANE_ACTION_AHEAD_LEFT_U_TURN
public static final BNLaneAction LANE_ACTION_AHEAD_LEFT_U_TURN
直行+左掉头
-
LANE_ACTION_AHEAD_RIGHT_U_TURN
public static final BNLaneAction LANE_ACTION_AHEAD_RIGHT_U_TURN
直行+右掉头
-
LANE_ACTION_LEFT_LEFT_U_TURN
public static final BNLaneAction LANE_ACTION_LEFT_LEFT_U_TURN
左转+左调头
-
LANE_ACTION_RIGHT_RIGHT_U_TURN
public static final BNLaneAction LANE_ACTION_RIGHT_RIGHT_U_TURN
右转+右调头
-
LANE_ACTION_RESERVED1
@Deprecated public static final BNLaneAction LANE_ACTION_RESERVED1
Deprecated.无效,保留
-
LANE_ACTION_RESERVED2
@Deprecated public static final BNLaneAction LANE_ACTION_RESERVED2
Deprecated.无效,保留
-
LANE_ACTION_RESERVED3
@Deprecated public static final BNLaneAction LANE_ACTION_RESERVED3
Deprecated.无效,保留
-
LANE_ACTION_AHEAD_LEFT_LEFT_U_TURN
public static final BNLaneAction LANE_ACTION_AHEAD_LEFT_LEFT_U_TURN
直行+左转+左调头
-
LANE_ACTION_RIGHT_LEFT_U_TURN
public static final BNLaneAction LANE_ACTION_RIGHT_LEFT_U_TURN
右转+左调头
-
LANE_ACTION_LEFT_RIGHT_LEFT_U_TURN
public static final BNLaneAction LANE_ACTION_LEFT_RIGHT_LEFT_U_TURN
左转+右转+左调头
-
LANE_ACTION_AHEAD_RIGHT_LEFT_UTURN
public static final BNLaneAction LANE_ACTION_AHEAD_RIGHT_LEFT_UTURN
直行+右转+左调头
-
LANE_ACTION_LEFT_RIGHT_U_TURN
public static final BNLaneAction LANE_ACTION_LEFT_RIGHT_U_TURN
左转+右掉头
-
LANE_ACTION_BUS
public static final BNLaneAction LANE_ACTION_BUS
公交车道
-
LANE_ACTION_EMPTY
public static final BNLaneAction LANE_ACTION_EMPTY
空车道
-
LANE_ACTION_VARIABLE
public static final BNLaneAction LANE_ACTION_VARIABLE
可变车道
-
LANE_ACTION_DEDICATED
public static final BNLaneAction LANE_ACTION_DEDICATED
专用车道
-
LANE_ACTION_TIDAL
public static final BNLaneAction LANE_ACTION_TIDAL
潮汐车道
-
LANE_ACTION_BUTT
@Deprecated public static final BNLaneAction LANE_ACTION_BUTT
Deprecated.车道类型个数
-
LANE_ACTION_TIDAL_AVAILABLE
public static final BNLaneAction LANE_ACTION_TIDAL_AVAILABLE
潮汐叉号/不可用车道
-
LANE_ACTION_OLYMPIC
public static final BNLaneAction LANE_ACTION_OLYMPIC
奥运/冬奥车道
-
LANE_ACTION_BUS_TEXT
public static final BNLaneAction LANE_ACTION_BUS_TEXT
公交文字高亮车道
-
-
Method Detail
-
values
public static BNLaneAction[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BNLaneAction c : BNLaneAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BNLaneAction valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getValue
public int getValue()
-
getDesc
public java.lang.String getDesc()
-
fromValue
public static BNLaneAction fromValue(int value)
根据协议值查找对应的枚举- Parameters:
value- 协议值- Returns:
- 对应的枚举,未匹配时返回 null
-
-