Step
@CarProtocol
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 |
|---|
class Step.BuilderA builder of |
Public functions |
|
|---|---|
Boolean |
|
CarText? |
getCue()Returns the text description of this maneuver or |
(Mutable)List<Lane!> |
getLanes()Returns a list of |
CarIcon? |
Returns the image representing all the lanes or |
Maneuver? |
Returns the maneuver to be performed on this step or |
CarText? |
getRoad()Returns the text description of the road for the step or |
Int |
hashCode() |
String |
toString() |
Public functions
getCue
fun getCue(): CarText?
Returns the text description of this maneuver or null if not set.
| See also | |
|---|---|
setCue |
getLanes
fun getLanes(): (Mutable)List<Lane!>
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
fun getLanesImage(): CarIcon?
Returns the image representing all the lanes or null if not set.
| See also | |
|---|---|
setLanesImage |
getManeuver
fun getManeuver(): Maneuver?
Returns the maneuver to be performed on this step or null if this step doesn't involve a maneuver.
| See also | |
|---|---|
setManeuver |