Builder

class Builder
kotlin.Any
   ↳ androidx.car.cluster.navigation.Lane.Builder

Builder for creating a Lane

Summary

Public constructors

Builder for creating a Lane

Public methods

Lane.Builder
addDirection(@NonNull direction: LaneDirection)

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

Lane

Returns a Lane built with the provided information.

Public constructors

<init>

Builder()

Builder for creating a Lane

Public methods

addDirection

@NonNull fun addDirection(@NonNull direction: LaneDirection): Lane.Builder

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

build

@NonNull fun build(): Lane

Returns a Lane built with the provided information.