Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

LaneDirection

class LaneDirection : VersionedParcelable
kotlin.Any
   ↳ androidx.car.cluster.navigation.LaneDirection

One of the possible directions a driver can go when using a particular lane at a particular step in the navigation. This can be used by the consumer to choose what icon or icons to combine in order to display a lane configuration to the user.

Summary

Nested classes

Turn amount and direction.

Builder for creating a LaneDirection

Public methods
Int

Boolean
equals(other: Any?)

Boolean

Returns whether this is a direction the driver should take in order to stay in the navigation route.

String

LaneDirection.Shape

Returns shape of this lane direction.

Public methods

hashCode

fun hashCode(): Int

equals

fun equals(other: Any?): Boolean

isHighlighted

fun isHighlighted(): Boolean

Returns whether this is a direction the driver should take in order to stay in the navigation route.

toString

fun toString(): String

getShape

@NonNull fun getShape(): LaneDirection.Shape

Returns shape of this lane direction.