Type

@Serializable
enum Type : Enum<StepManeuver.Type>

Entries

Link copied to clipboard
@SerialName(value = "turn")
TURN

A basic turn in the direction of the modifier.

Link copied to clipboard
@SerialName(value = "new name")
NEW_NAME

The road name changes (after a mandatory turn).

Link copied to clipboard
@SerialName(value = "depart")
DEPART

Indicates departure from a leg. The modifier value indicates the position of the departure point in relation to the current direction of travel.

Link copied to clipboard
@SerialName(value = "arrive")
ARRIVE

Indicates arrival to a destination of a leg. The modifier value indicates the position of the arrival point in relation to the current direction of travel.

Link copied to clipboard
@SerialName(value = "merge")
MERGE

Merge onto a street.

Link copied to clipboard
@SerialName(value = "on ramp")
ON_RAMP

Take a ramp to enter a highway.

Link copied to clipboard
@SerialName(value = "off ramp")
OFF_RAMP

Take a ramp to exit a highway.

Link copied to clipboard
@SerialName(value = "fork")
FORK

Take the left or right side of a fork.

Link copied to clipboard
@SerialName(value = "end of road")
END_OF_ROAD

Road ends in a T intersection.

Link copied to clipboard
@SerialName(value = "continue")
CONTINUE

Continue on a street after a turn.

Link copied to clipboard
@SerialName(value = "roundabout")
ROUNDABOUT

Traverse roundabout. Has an additional property exit in the route step that contains the exit number. The modifier specifies the direction of entering the roundabout.

Link copied to clipboard
@SerialName(value = "rotary")
ROTARY

A traffic circle. While very similar to a larger version of a roundabout, it does not necessarily follow roundabout rules for right of way. It can offer LegStep.rotaryName parameters, LegStep.rotaryPronunciation ()} parameters, or both, in addition to the .exit property.

Link copied to clipboard
@SerialName(value = "roundabout turn")
ROUNDABOUT_TURN

A small roundabout that is treated as an intersection.

Link copied to clipboard
@SerialName(value = "notification")
NOTIFICATION

Indicates a change of driving conditions, for example changing the mode from driving to ferry.

Link copied to clipboard
@SerialName(value = "exit roundabout")
EXIT_ROUNDABOUT

Indicates the exit maneuver from a roundabout. Will not appear in results unless you supply true to the .exit query parameter in the request.

Link copied to clipboard
@SerialName(value = "exit rotary")
EXIT_ROTARY

Indicates the exit maneuver from a rotary. Will not appear in results unless you supply true to the MapboxDirections.Builder#roundaboutExits() query parameter in the request.

Link copied to clipboard
@SerialName(value = "use lane")
USE_LANE

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.