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

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

Boolean
equals(other: Any?)

MutableList<LaneDirection!>

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

Int

String

Public methods

equals

fun equals(other: Any?): Boolean

getDirections

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

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

hashCode

fun hashCode(): Int

toString

fun toString(): String