Class Walk

com.yandex.mapkit.transport.masstransit

java.lang.Object ⇽ Walk

public class Walk

Represents a pedestrian section of a route.

Constructors

Walk()

Use constructor with parameters in your code.

Walk(@NonNull List< ConstructionSegment > constructions, @NonNull List< Spot > spots, @NonNull List< Integer > viaPoints)

Methods

synchronized List< ConstructionSegment > getConstructions()

Compressed information about pedestrian constructions along the pedestrian path.

String getNativeName()
synchronized List< Spot > getSpots()

List of pedestrian spots with their coordinates along the pedestrian path.

synchronized List< Integer > getViaPoints()

List of via points on the path.

void serialize(Archive archive)

Constructor Detail

Walk

public Walk ()

Use constructor with parameters in your code.

This one is for serialization only!

Walk

public Walk (@NonNull List< ConstructionSegment > constructions, @NonNull List< Spot > spots, @NonNull List< Integer > viaPoints)

Method Detail

getConstructions

public synchronized List< ConstructionSegment > getConstructions ()

Compressed information about pedestrian constructions along the pedestrian path.

ConstructionSegment#subpolyline fields of all segments cover the entire geometry of corresponding section".

getNativeName

public static String getNativeName ()

getSpots

public synchronized List< Spot > getSpots ()

List of pedestrian spots with their coordinates along the pedestrian path.

getViaPoints

public synchronized List< Integer > getViaPoints ()

List of via points on the path.

A via point is described by the index of the point in the route geometry polyline.

serialize

public void serialize (Archive archive)