AI-generated Key Takeaways
-
LaneDirectionindicates the possible directions from a lane at the end of a route step and if it's recommended. -
This API is in beta and subject to change without guaranteeing backward compatibility.
-
Use
builder()to create newLaneDirectionobjects andisRecommended()to check if a lane is suggested. -
laneShape()provides the shape of the road path continuing from the lane usingLaneDirection.LaneShape.
One of the possible directions from a lane at the end of a route step, and whether it is on the recommended route.
Nested Class Summary
| class | LaneDirection.Builder | A builder of LaneDirection. |
|
| @interface | LaneDirection.LaneShape | A set of values that specify the shape of the road path continuing from the Lane. | |
Public Constructor Summary
Public Method Summary
| static LaneDirection.Builder |
builder()
Returns a new Builder instance that allows building new
LaneDirection objects. |
| abstract Boolean |
isRecommended()
Whether this lane is recommended.
|
| abstract int |
laneShape()
Returns the
LaneDirection.LaneShape for this lane direction. |
Inherited Method Summary
Public Constructors
public LaneDirection ()
Public Methods
public static LaneDirection.Builder builder ()
Returns a new Builder instance that allows building new LaneDirection objects.
public abstract Boolean isRecommended ()
Whether this lane is recommended. Only one LaneDirection is recommended at a time.