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

NORMAL_LEFT

public static final LaneDirection.Shape NORMAL_LEFT

Regular turn (45-135 degrees).

NORMAL_RIGHT

public static final LaneDirection.Shape NORMAL_RIGHT

See also:

SHARP_LEFT

public static final LaneDirection.Shape SHARP_LEFT

Sharp turn (135-175 degrees).

SHARP_RIGHT

public static final LaneDirection.Shape SHARP_RIGHT

See also:

SLIGHT_LEFT

public static final LaneDirection.Shape SLIGHT_LEFT

Slight turn (10-45 degrees).

SLIGHT_RIGHT

public static final LaneDirection.Shape SLIGHT_RIGHT

See also:

STRAIGHT

public static final LaneDirection.Shape STRAIGHT

No turn.

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).

U_TURN_RIGHT

public static final LaneDirection.Shape U_TURN_RIGHT

See also:

Public methods

valueOf

public static LaneDirection.Shape valueOf (String name)

Parameters
name String

Returns
LaneDirection.Shape

values

public static final Shape[] values ()

Returns
Shape[]