Step
@CarProtocol
public final class Step
Represents a step that the driver should take in order to remain on the current navigation route.
Example of steps are turning onto a street, taking a highway exit and merging onto a different highway, or continuing straight through a roundabout.
Summary
Nested types |
|---|
public final class Step.BuilderA builder of |
Public methods |
|
|---|---|
boolean |
|
@Nullable CarText |
getCue()Returns the text description of this maneuver or |
@NonNull List<Lane> |
getLanes()Returns a list of |
@Nullable CarIcon |
Returns the image representing all the lanes or |
@Nullable Maneuver |
Returns the maneuver to be performed on this step or |
@Nullable CarText |
getRoad()Returns the text description of the road for the step or |
int |
hashCode() |
@NonNull String |
toString() |
Public methods
getCue
public @Nullable CarText getCue()
Returns the text description of this maneuver or null if not set.
| See also | |
|---|---|
setCue |
getLanes
public @NonNull List<Lane> getLanes()
Returns a list of Lane that contains information of the road lanes at the point where the driver should execute this step.
| See also | |
|---|---|
addLane |
getLanesImage
public @Nullable CarIcon getLanesImage()
Returns the image representing all the lanes or null if not set.
| See also | |
|---|---|
setLanesImage |
getManeuver
public @Nullable Maneuver getManeuver()
Returns the maneuver to be performed on this step or null if this step doesn't involve a maneuver.
| See also | |
|---|---|
setManeuver |