Class JamStyle

com.yandex.mapkit.transport.masstransit

java.lang.Object ⇽ JamStyle

public class JamStyle

The style that is used to display traffic intensity.

Constructors

JamStyle()

Use constructor with parameters in your code.

JamStyle(@NonNull List< JamTypeColor > colors, int noJamColor)

Methods

synchronized List< JamTypeColor > getColors()

Collection of colors for traffic intensity.

String getNativeName()
synchronized int getNoJamColor()

The color of segments for which traffic intensity makes no sense (e.g.

void serialize(Archive archive)

Constructor Detail

JamStyle

public JamStyle ()

Use constructor with parameters in your code.

This one is for serialization only!

JamStyle

public JamStyle (@NonNull List< JamTypeColor > colors, int noJamColor)

Method Detail

getColors

public synchronized List< JamTypeColor > getColors ()

Collection of colors for traffic intensity.

getNativeName

public static String getNativeName ()

getNoJamColor

public synchronized int getNoJamColor ()

The color of segments for which traffic intensity makes no sense (e.g.

underground).

serialize

public void serialize (Archive archive)