public enum

LaneDirection.Shape

extends java.lang.Enum<LaneDirection.Shape>

 java.lang.Object

↳java.lang.Enum<LaneDirection.Shape>

↳androidx.car.cluster.navigation.LaneDirection.Shape

Overview

Turn amount and direction.

Summary

Enum Constants
NORMAL_LEFTRegular turn (45-135 degrees).
NORMAL_RIGHT
SHARP_LEFTSharp turn (135-175 degrees).
SHARP_RIGHT
SLIGHT_LEFTSlight turn (10-45 degrees).
SLIGHT_RIGHT
STRAIGHTNo turn.
U_TURN_LEFTA turn onto the opposite side of the same street (175-180 degrees).
U_TURN_RIGHT
UNKNOWNThe shape is unknown to the consumer, in which case the consumer shouldn't show any lane information at all.
Methods
public static LaneDirection.ShapevalueOf(java.lang.String name)

public static LaneDirection.Shapevalues()

from java.lang.Enum<E>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
from java.lang.ObjectgetClass, notify, notifyAll, wait, wait, wait

Enum Constants

UNKNOWN

The shape is unknown to the consumer, in which case the consumer shouldn't show any lane information at all.

STRAIGHT

No turn.

SLIGHT_LEFT

Slight turn (10-45 degrees).

SLIGHT_RIGHT

See also: LaneDirection.Shape.SLIGHT_LEFT

NORMAL_LEFT

Regular turn (45-135 degrees).

NORMAL_RIGHT

See also: LaneDirection.Shape.NORMAL_LEFT

SHARP_LEFT

Sharp turn (135-175 degrees).

SHARP_RIGHT

See also: LaneDirection.Shape.SHARP_LEFT

U_TURN_LEFT

A turn onto the opposite side of the same street (175-180 degrees).

U_TURN_RIGHT

See also: LaneDirection.Shape.U_TURN_LEFT

Methods

public static LaneDirection.Shape values()

public static LaneDirection.Shape valueOf(java.lang.String name)