Class RouteSettings

com.yandex.mapkit.transport.masstransit

java.lang.Object ⇽ RouteSettings

public class RouteSettings

Route settings that were used by the mass transit router for a specific route.

Constructors

RouteSettings()

Use constructor with parameters in your code.

RouteSettings(@NonNull List< String > avoidTypes, @NonNull List< String > acceptTypes)

Methods

synchronized List< String > getAcceptTypes()

Transport types that were allowed even if they are in the list of avoided types.

synchronized List< String > getAvoidTypes()

Transport types that the router avoided.

String getNativeName()
void serialize(Archive archive)

Constructor Detail

RouteSettings

public RouteSettings ()

Use constructor with parameters in your code.

This one is for serialization only!

RouteSettings

public RouteSettings (@NonNull List< String > avoidTypes, @NonNull List< String > acceptTypes)

Method Detail

getAcceptTypes

public synchronized List< String > getAcceptTypes ()

Transport types that were allowed even if they are in the list of avoided types.

getAvoidTypes

public synchronized List< String > getAvoidTypes ()

Transport types that the router avoided.

getNativeName

public static String getNativeName ()

serialize

public void serialize (Archive archive)