Class Stop

com.yandex.mapkit.transport.masstransit

java.lang.Object ⇽ Stop

public class Stop

Describes a public transport stop.

Constructors

Stop()

Use constructor with parameters in your code.

Stop(@NonNull String id, @NonNull String name)

Methods

synchronized String getId()

Stop ID.

synchronized String getName()

Stop name.

String getNativeName()
void serialize(Archive archive)

Constructor Detail

Stop

public Stop ()

Use constructor with parameters in your code.

This one is for serialization only!

Stop

public Stop (@NonNull String id, @NonNull String name)

Method Detail

getId

public synchronized String getId ()

Stop ID.

getName

public synchronized String getName ()

Stop name.

getNativeName

public static String getNativeName ()

serialize

public void serialize (Archive archive)