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

A builder of Step.

Public methods

boolean
@Nullable CarText

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

@NonNull List<Lane>

Returns a list of Lane that contains information of the road lanes at the point where the driver should execute this step.

@Nullable CarIcon

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

@Nullable Maneuver

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

@Nullable CarText

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

int
@NonNull String

Public methods

equals

public boolean equals(@Nullable Object other)

getCue

Added in 1.0.0
public @Nullable CarText getCue()

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

See also
setCue

getLanes

Added in 1.0.0
public @NonNull List<LanegetLanes()

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
public @Nullable CarIcon getLanesImage()

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

See also
setLanesImage

getManeuver

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

getRoad

Added in 1.0.0
public @Nullable CarText getRoad()

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

See also
setRoad

hashCode

public int hashCode()

toString

public @NonNull String toString()