Class ThreadStop

com.yandex.mapkit.transport.masstransit

java.lang.Object ⇽ ThreadStop

public class ThreadStop

Describes a Stop on a Thread.

Constructors

ThreadStop()

Use constructor with parameters in your code.

ThreadStop(@NonNull Stop stop, @NonNull Point position)

Methods

String getNativeName()
synchronized Point getPosition()

Coordinates of the thread stop.

synchronized Stop getStop()

Stop on a thread.

void serialize(Archive archive)

Constructor Detail

ThreadStop

public ThreadStop ()

Use constructor with parameters in your code.

This one is for serialization only!

ThreadStop

public ThreadStop (@NonNull Stop stop, @NonNull Point position)

Method Detail

getNativeName

public static String getNativeName ()

getPosition

public synchronized Point getPosition ()

Coordinates of the thread stop.

getStop

public synchronized Stop getStop ()

Stop on a thread.

serialize

public void serialize (Archive archive)