Lane

public final class Lane
extends Object implements VersionedParcelable

java.lang.Object
   ↳ 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

class Lane.Builder

Builder for creating a Lane  

Public methods

boolean equals(Object o)
List<LaneDirection> getDirections()

Returns all possible directions a driver can take from this lane.

int hashCode()
String toString()

Inherited methods

Public methods

equals

public boolean equals (Object o)

Parameters
o Object

Returns
boolean

getDirections

public List<LaneDirection> getDirections ()

Returns all possible directions a driver can take from this lane.

Returns
List<LaneDirection>

hashCode

public int hashCode ()

Returns
int

toString

public String toString ()

Returns
String