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

A builder of Step.

Public functions

Boolean
equals(other: Any?)
CarText?

Returns the text description of this maneuver or null if not set.

(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.

CarIcon?

Returns the image representing all the lanes or null if not set.

Maneuver?

Returns the maneuver to be performed on this step or null if this step doesn't involve a maneuver.

CarText?

Returns the text description of the road for the step or null if unknown.

Int
String

Public functions

equals

Added in 1.4.0-rc02
fun equals(other: Any?): Boolean

getCue

Added in 1.0.0
fun getCue(): CarText?

Returns the text description of this maneuver or null if not set.

See also
setCue

getLanes

Added in 1.0.0
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

Added in 1.0.0
fun getLanesImage(): CarIcon?

Returns the image representing all the lanes or null if not set.

See also
setLanesImage

getManeuver

Added in 1.0.0
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

getRoad

Added in 1.0.0
fun getRoad(): CarText?

Returns the text description of the road for the step or null if unknown.

See also
setRoad

hashCode

Added in 1.4.0-rc02
fun hashCode(): Int

toString

Added in 1.4.0-rc02
fun toString(): String