LaneDirection.Shape
public
static
final
enum
LaneDirection.Shape
extends Enum<LaneDirection.Shape>
java.lang.Object | ||
↳ | java.lang.Enum<androidx.car.cluster.navigation.LaneDirection.Shape> | |
↳ | androidx.car.cluster.navigation.LaneDirection.Shape |
Turn amount and direction.
Summary
Enum values | |
---|---|
LaneDirection.Shape |
NORMAL_LEFT
Regular turn (45-135 degrees). |
LaneDirection.Shape |
NORMAL_RIGHT
|
LaneDirection.Shape |
SHARP_LEFT
Sharp turn (135-175 degrees). |
LaneDirection.Shape |
SHARP_RIGHT
|
LaneDirection.Shape |
SLIGHT_LEFT
Slight turn (10-45 degrees). |
LaneDirection.Shape |
SLIGHT_RIGHT
|
LaneDirection.Shape |
STRAIGHT
No turn. |
LaneDirection.Shape |
UNKNOWN
The shape is unknown to the consumer, in which case the consumer shouldn't show any lane information at all. |
LaneDirection.Shape |
U_TURN_LEFT
A turn onto the opposite side of the same street (175-180 degrees). |
LaneDirection.Shape |
U_TURN_RIGHT
|
Public methods | |
---|---|
static
LaneDirection.Shape
|
valueOf(String name)
|
static
final
Shape[]
|
values()
|
Inherited methods | |
---|---|
Enum values
UNKNOWN
public static final LaneDirection.Shape UNKNOWN
The shape is unknown to the consumer, in which case the consumer shouldn't show any lane information at all.
U_TURN_LEFT
public static final LaneDirection.Shape U_TURN_LEFT
A turn onto the opposite side of the same street (175-180 degrees).
Public methods
valueOf
public static LaneDirection.Shape valueOf (String name)
Parameters | |
---|---|
name |
String |
Returns | |
---|---|
LaneDirection.Shape |