Class Lane

com.yandex.mapkit.directions.driving

java.lang.Object ⇽ Lane

public class Lane

The lane object.

Constructors

Lane()

Use constructor with parameters in your code.

Lane(@NonNull LaneKind laneKind, @NonNull List< LaneDirection > directions, @Nullable LaneDirection highlightedDirection)

Methods

synchronized List< LaneDirection > getDirections()

Lane direction.

synchronized LaneDirection getHighlightedDirection()

Highlighted lane direction.

synchronized LaneKind getLaneKind()

The type of lane.

String getNativeName()
void serialize(Archive archive)

Constructor Detail

Lane

public Lane ()

Use constructor with parameters in your code.

This one is for serialization only!

Lane

public Lane (@NonNull LaneKind laneKind, @NonNull List< LaneDirection > directions, @Nullable LaneDirection highlightedDirection)

Method Detail

getDirections

public synchronized List< LaneDirection > getDirections ()

Lane direction.

getHighlightedDirection

public synchronized LaneDirection getHighlightedDirection ()

Highlighted lane direction.

Optional field, can be null.

getLaneKind

public synchronized LaneKind getLaneKind ()

The type of lane.

getNativeName

public static String getNativeName ()

serialize

public void serialize (Archive archive)