public final class

Lane.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.car.app.navigation.model.Lane.Builder

Overview

A builder of Lane.

Summary

Constructors
publicBuilder()

Returns an empty Lane.Builder instance.

Methods
public Lane.BuilderaddDirection(LaneDirection direction)

Adds a direction a driver can take from this lane.

public Lanebuild()

Constructs the Lane defined by this builder.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public Builder()

Returns an empty Lane.Builder instance.

Methods

public Lane.Builder addDirection(LaneDirection direction)

Adds a direction a driver can take from this lane.

public Lane build()

Constructs the Lane defined by this builder.