Class TransitObjectMetadata

com.yandex.mapkit.search

java.lang.Object ⇽ TransitObjectMetadata

public class TransitObjectMetadata

Additional data for masstransit objects.

Constructors

TransitObjectMetadata()

Use constructor with parameters in your code.

TransitObjectMetadata(_NonNull String routeId, _NonNull List< String > types)

Methods

String getNativeName()
synchronized String getRouteId()

Transit route ID.

synchronized List< String > getTypes()

List of vehicle types.

void serialize(Archive archive)

Constructor Detail

TransitObjectMetadata

public TransitObjectMetadata ()

Use constructor with parameters in your code.

This one is for serialization only!

TransitObjectMetadata

public TransitObjectMetadata (@NonNull String routeId, @NonNull List< String > types)

Method Detail

getNativeName

public static String getNativeName ()

getRouteId

public synchronized String getRouteId ()

Transit route ID.

getTypes

public synchronized List< String > getTypes ()

List of vehicle types.

serialize

public void serialize (Archive archive)