Class DrivingSection

com.yandex.mapkit.directions.driving

java.lang.Object ⇽ DrivingSection

public class DrivingSection

Route section.

Constructors

DrivingSection()

Use constructor with parameters in your code.

DrivingSection(@NonNull DrivingSectionMetadata metadata, @NonNull Subpolyline geometry)

Methods

synchronized Subpolyline getGeometry()

A polyline of the route section.

synchronized DrivingSectionMetadata getMetadata()

Metadata information for the route section.

String getNativeName()
void serialize(Archive archive)

Constructor Detail

DrivingSection

public DrivingSection ()

Use constructor with parameters in your code.

This one is for serialization only!

DrivingSection

public DrivingSection (@NonNull DrivingSectionMetadata metadata, @NonNull Subpolyline geometry)

Method Detail

getGeometry

public synchronized Subpolyline getGeometry ()

A polyline of the route section.

getMetadata

public synchronized DrivingSectionMetadata getMetadata ()

Metadata information for the route section.

getNativeName

public static String getNativeName ()

serialize

public void serialize (Archive archive)