Join us on the livestream at Android Dev Summit on 7-8 November 2018, starting at 10AM PDT!

Lane.Builder

public static final class Lane.Builder
extends Object

java.lang.Object
   ↳ androidx.car.cluster.navigation.Lane.Builder


Builder for creating a Lane

Summary

Public constructors

Lane.Builder()

Public methods

Lane.Builder addDirection(LaneDirection direction)

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

Lane build()

Returns a Lane built with the provided information.

Inherited methods

Public constructors

Lane.Builder

public Lane.Builder ()

Public methods

addDirection

public Lane.Builder addDirection (LaneDirection direction)

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

Parameters
direction LaneDirection

Returns
Lane.Builder

build

public Lane build ()

Returns a Lane built with the provided information.

Returns
Lane