Android 12 Developer Preview is here! Try it out, and give us your feedback!

Lane

public final class Lane
extends Object

java.lang.Object
   ↳ com.google.android.libraries.car.app.navigation.model.Lane


Configuration of a single lane of a road at a particular point in the navigation.

A Lane object describes all possible directions the driver could go from this lane, and indicates which directions the driver could take to stay on the navigation route.

Summary

Nested classes

class Lane.Builder

A builder of Lane

Public methods

static Lane.Builder builder()

Constructs a new builder of Lane.

boolean equals(Object other)
int hashCode()
String toString()

Inherited methods

Public methods

builder

public static Lane.Builder builder ()

Constructs a new builder of Lane.

Returns
Lane.Builder

equals

public boolean equals (Object other)

Parameters
other Object

Returns
boolean

hashCode

public int hashCode ()

Returns
int

toString

public String toString ()

Returns
String