Class LaneSign

Warning

This feature is available in the Full MapKit SDK version

Package com.yandex.mapkit.directions.driving

java.lang.Object
    ↳ com.yandex.mapkit.directions.driving.LaneSign

class LaneSign implements Serializable

The sign showing a lane.

Summary

Constructors

Signature and Description

LaneSign()
Use constructor with parameters in your code.

LaneSign(@NonNull PolylinePosition position,
         @Nullable java.lang.Boolean annotated,
         @NonNull java.util.List<Lane> lanes)

Methods

Type and modifiers

Method and Description

synchronized PolylinePosition

getPosition()
The position of the sign.

synchronized java.lang.Boolean

getAnnotated()
Determines whether the sign should be annotated.

synchronized java.util.List<Lane>

getLanes()
The lane to display the sign in.

void

serialize(com.yandex.runtime.bindings.Archive archive)

static java.lang.String

getNativeName()

Constuctors

LaneSign

LaneSign()

Use constructor with parameters in your code.

This one is for serialization only!


LaneSign

LaneSign(@NonNull PolylinePosition position,
         @Nullable java.lang.Boolean annotated,
         @NonNull java.util.List<Lane> lanes)


Methods

getPosition

@NonNull
PolylinePosition getPosition()

The position of the sign.


getAnnotated

@Nullable
java.lang.Boolean getAnnotated()

Determines whether the sign should be annotated.

Optional field, can be null.


getLanes

@NonNull
java.util.List<Lane> getLanes()

The lane to display the sign in.


serialize

@Override
void serialize(com.yandex.runtime.bindings.Archive archive)


getNativeName

java.lang.String getNativeName()