public abstract static class IntersectionLanes.Builder
extends java.lang.Object
IntersectionLanes
.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
abstract IntersectionLanes |
build()
Build a new
IntersectionLanes object. |
abstract IntersectionLanes.Builder |
indications(java.util.List<java.lang.String> indications)
list that can be made up of multiple signs such as
left , right , etc. |
abstract IntersectionLanes.Builder |
valid(java.lang.Boolean valid)
Provide a boolean value you can use to determine if the given lane is valid for the user to
complete the maneuver.
|
public abstract IntersectionLanes.Builder valid(@Nullable java.lang.Boolean valid)
valid
- Boolean value for whether this lane can be taken to complete the maneuver. For
instance, if the lane array has four objects and the first two are marked as
valid, then the driver can take either of the left lanes and stay on the route.public abstract IntersectionLanes.Builder indications(@Nullable java.util.List<java.lang.String> indications)
left
, right
, etc.indications
- list of signs for each turn lane. There can be multiple signs. For
example, a turning lane can have a sign with an arrow pointing left and
another sign with an arrow pointing straight.public abstract IntersectionLanes build()
IntersectionLanes
object.IntersectionLanes
using the provided values in this builder