Class Flags

com.yandex.mapkit.directions.driving

java.lang.Object ⇽ Flags

public class Flags

Overall characteristics of the route.

Constructors

Flags(boolean blocked, boolean hasFerries, boolean hasTolls, boolean crossesBorders, boolean requiresAccessPass, boolean forParking, boolean futureBlocked, boolean deadJam, boolean builtOffline, boolean predicted, boolean hasRuggedRoads)
Flags()

Use constructor with parameters in your code.

Methods

boolean getBlocked()

Route is blocked.

boolean getBuiltOffline()

Route was built by using offline data.

boolean getCrossesBorders()

Route crosses borders.

boolean getDeadJam()

Route has a severe traffic jam.

boolean getForParking()

Route is made for parking.

boolean getFutureBlocked()

Route will be blocked soon.

boolean getHasFerries()

Route has ferries on it.

boolean getHasRuggedRoads()

Route has rugged roads on it.

boolean getHasTolls()

Route includes toll roads.

boolean getPredicted()

Predicted optimal route.

boolean getRequiresAccessPass()

Route requires special access.

void serialize(Archive archive)

Constructor Detail

Flags

public Flags (boolean blocked, boolean hasFerries, boolean hasTolls, boolean crossesBorders, boolean requiresAccessPass, boolean forParking, boolean futureBlocked, boolean deadJam, boolean builtOffline, boolean predicted, boolean hasRuggedRoads)

Flags

public Flags ()

Use constructor with parameters in your code.

This one is for bindings only!

Method Detail

getBlocked

public boolean getBlocked ()

Route is blocked.

getBuiltOffline

public boolean getBuiltOffline ()

Route was built by using offline data.

getCrossesBorders

public boolean getCrossesBorders ()

Route crosses borders.

getDeadJam

public boolean getDeadJam ()

Route has a severe traffic jam.

getForParking

public boolean getForParking ()

Route is made for parking.

getFutureBlocked

public boolean getFutureBlocked ()

Route will be blocked soon.

getHasFerries

public boolean getHasFerries ()

Route has ferries on it.

getHasRuggedRoads

public boolean getHasRuggedRoads ()

Route has rugged roads on it.

getHasTolls

public boolean getHasTolls ()

Route includes toll roads.

getPredicted

public boolean getPredicted ()

Predicted optimal route.

getRequiresAccessPass

public boolean getRequiresAccessPass ()

Route requires special access.

serialize

public void serialize (Archive archive)