Class Spot

com.yandex.mapkit.transport.bicycle

java.lang.Object ⇽ Spot

public class Spot

Special point on the route (like gates).

Nested Classes

Constructors

Spot()

Use constructor with parameters in your code.

Spot(@NonNull SpotType type, @NonNull PolylinePosition position)

Methods

String getNativeName()
synchronized PolylinePosition getPosition()

Spot position on the route polyline.

synchronized SpotType getType()

Type of the spot.

void serialize(Archive archive)

Constructor Detail

Spot

public Spot ()

Use constructor with parameters in your code.

This one is for serialization only!

Spot

public Spot (@NonNull SpotType type, @NonNull PolylinePosition position)

Method Detail

getNativeName

public static String getNativeName ()

getPosition

public synchronized PolylinePosition getPosition ()

Spot position on the route polyline.

getType

public synchronized SpotType getType ()

Type of the spot.

serialize

public void serialize (Archive archive)