Class JamStyle

com.yandex.mapkit.directions.driving

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)

Methods

synchronized List< JamTypeColor > getColors()

Collection of colors for traffic intensity.

String getNativeName()
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)

Method Detail

getColors

public synchronized List< JamTypeColor > getColors ()

Collection of colors for traffic intensity.

getNativeName

public static String getNativeName ()

serialize

public void serialize (Archive archive)