Class Flags

com.yandex.mapkit.transport.bicycle

java.lang.Object ⇽ Flags

public class Flags

Indicates whether the suggested route has one or more of the specified properties.

Constructors

Flags(boolean requiresAccessPass, boolean hasAutoRoad)
Flags()

Use constructor with parameters in your code.

Methods

boolean getHasAutoRoad()

Indicates whether the suggested route includes automotive roads.

boolean getRequiresAccessPass()

Indicates whether the suggested route requires an access pass.

void serialize(Archive archive)

Constructor Detail

Flags

public Flags (boolean requiresAccessPass, boolean hasAutoRoad)

Flags

public Flags ()

Use constructor with parameters in your code.

This one is for bindings only!

Method Detail

getHasAutoRoad

public boolean getHasAutoRoad ()

Indicates whether the suggested route includes automotive roads.

getRequiresAccessPass

public boolean getRequiresAccessPass ()

Indicates whether the suggested route requires an access pass.

serialize

public void serialize (Archive archive)