Class Leg

com.yandex.mapkit.transport.bicycle

java.lang.Object ⇽ Leg

public class Leg

Leg of the route.

Constructors

Leg()

Use constructor with parameters in your code.

Leg(@NonNull Weight weight, @NonNull Subpolyline geometry)

Methods

synchronized Subpolyline getGeometry()

Path of the route polyline for the route leg.

String getNativeName()
synchronized Weight getWeight()

Quantitative characteristics of the route leg.

void serialize(Archive archive)

Constructor Detail

Leg

public Leg ()

Use constructor with parameters in your code.

This one is for serialization only!

Leg

public Leg (@NonNull Weight weight, @NonNull Subpolyline geometry)

Method Detail

getGeometry

public synchronized Subpolyline getGeometry ()

Path of the route polyline for the route leg.

getNativeName

public static String getNativeName ()

getWeight

public synchronized Weight getWeight ()

Quantitative characteristics of the route leg.

serialize

public void serialize (Archive archive)