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

Lane

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

Configuration of a single lane of a road at a particular point in the navigation. It describes all possible directions the driver could go from this lane, and indicates which directions the driver could take to stay in the navigation route.

Summary

Nested classes

Builder for creating a Lane

Public methods
Int

MutableList<LaneDirection!>

Returns an unmodifiable list of possible directions a driver can take from this lane.

Boolean
equals(other: Any?)

String

Public methods

hashCode

fun hashCode(): Int

getDirections

@NonNull fun getDirections(): MutableList<LaneDirection!>

Returns an unmodifiable list of possible directions a driver can take from this lane.

equals

fun equals(other: Any?): Boolean

toString

fun toString(): String