Class ActionMetadata

com.yandex.mapkit.directions.driving

java.lang.Object ⇽ ActionMetadata

public class ActionMetadata

Information about an action.

Constructors

ActionMetadata(@Nullable UturnMetadata uturnMetadata, @Nullable LeaveRoundaboutMetadata leaveRoundaboutMetadada)
ActionMetadata()

Use constructor with parameters in your code.

Methods

LeaveRoundaboutMetadata getLeaveRoundaboutMetadada()

The number of the exit for leaving the roundabout.

UturnMetadata getUturnMetadata()

The length of the U-turn.

void serialize(Archive archive)

Constructor Detail

ActionMetadata

public ActionMetadata (@Nullable UturnMetadata uturnMetadata, @Nullable LeaveRoundaboutMetadata leaveRoundaboutMetadada)

ActionMetadata

public ActionMetadata ()

Use constructor with parameters in your code.

This one is for bindings only!

Method Detail

getLeaveRoundaboutMetadada

public LeaveRoundaboutMetadata getLeaveRoundaboutMetadada ()

The number of the exit for leaving the roundabout.

Optional field, can be null.

getUturnMetadata

public UturnMetadata getUturnMetadata ()

The length of the U-turn.

Optional field, can be null.

serialize

public void serialize (Archive archive)