Lane
@CarProtocol
public final class Lane
Configuration of a single lane of a road at a particular point in the navigation.
A Lane object describes all possible directions the driver could go from this lane, and indicates which directions the driver could take to stay on the navigation route.
Summary
Nested types |
|---|
public final class Lane.BuilderA builder of |
Public methods |
|
|---|---|
boolean |
|
@NonNull List<LaneDirection> |
Returns the list of directions a driver can take from this |
int |
hashCode() |
@NonNull String |
toString() |
Public methods
getDirections
Added in 1.0.0
public @NonNull List<LaneDirection> getDirections()
Returns the list of directions a driver can take from this Lane.
| See also | |
|---|---|
addDirection |