Class Section

com.yandex.mapkit.transport.bicycle

java.lang.Object ⇽ Section

public class Section

Section of the route.

Constructors

Section()

Use constructor with parameters in your code.

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

Methods

synchronized Subpolyline getGeometry()

Path of the route polyline for this section.

String getNativeName()
synchronized Weight getWeight()

Quantitative characteristics of a route or route section.

void serialize(Archive archive)

Constructor Detail

Section

public Section ()

Use constructor with parameters in your code.

This one is for serialization only!

Section

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

Method Detail

getGeometry

public synchronized Subpolyline getGeometry ()

Path of the route polyline for this section.

getNativeName

public static String getNativeName ()

getWeight

public synchronized Weight getWeight ()

Quantitative characteristics of a route or route section.

serialize

public void serialize (Archive archive)