public final class

Lane.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.car.cluster.navigation.Lane.Builder

Overview

Builder for creating a Lane

Summary

Constructors
publicBuilder()

Methods
public Lane.BuilderaddDirection(LaneDirection direction)

Add a possible direction a driver can take from this lane.

public Lanebuild()

Returns a Lane built with the provided information.

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

Constructors

public Builder()

Methods

public Lane.Builder addDirection(LaneDirection direction)

Add a possible direction a driver can take from this lane.

public Lane build()

Returns a Lane built with the provided information.