Class Spot

com.yandex.mapkit.directions.driving

java.lang.Object ⇽ Spot

public class Spot

A spot object.

Constructors

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

Use constructor with parameters in your code.

Methods

PolylinePosition getPosition()

The position of the spot.

SpotType getType()

The type of the spot.

void serialize(Archive archive)

Constructor Detail

Spot

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

Spot

public Spot ()

Use constructor with parameters in your code.

This one is for bindings only!

Method Detail

getPosition

public PolylinePosition getPosition ()

The position of the spot.

getType

public SpotType getType ()

The type of the spot.

serialize

public void serialize (Archive archive)