Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

Shape

class Shape
kotlin.Any
   ↳ kotlin.Enum<androidx.car.cluster.navigation.LaneDirection.Shape>
   ↳ androidx.car.cluster.navigation.LaneDirection.Shape

Turn amount and direction.

Summary

Enum values

Regular turn (45-135 degrees).

Sharp turn (135-175 degrees).

Slight turn (10-45 degrees).

No turn.

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

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

Enum values

NORMAL_LEFT

enum val NORMAL_LEFT : LaneDirection.Shape

Regular turn (45-135 degrees).

NORMAL_RIGHT

enum val NORMAL_RIGHT : LaneDirection.Shape

See Also

SHARP_LEFT

enum val SHARP_LEFT : LaneDirection.Shape

Sharp turn (135-175 degrees).

SHARP_RIGHT

enum val SHARP_RIGHT : LaneDirection.Shape

See Also

SLIGHT_LEFT

enum val SLIGHT_LEFT : LaneDirection.Shape

Slight turn (10-45 degrees).

SLIGHT_RIGHT

enum val SLIGHT_RIGHT : LaneDirection.Shape

See Also

STRAIGHT

enum val STRAIGHT : LaneDirection.Shape

No turn.

UNKNOWN

enum val UNKNOWN : LaneDirection.Shape

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

U_TURN_LEFT

enum val U_TURN_LEFT : LaneDirection.Shape

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

U_TURN_RIGHT

enum val U_TURN_RIGHT : LaneDirection.Shape

See Also