Class JamTypeColor

com.yandex.mapkit.directions.driving

java.lang.Object ⇽ JamTypeColor

public class JamTypeColor

Color for specific level of traffic intensity.

Constructors

JamTypeColor(@NonNull JamType jamType, int jamColor)
JamTypeColor()

Use constructor with parameters in your code.

Methods

int getJamColor()

Traffic jam color.

JamType getJamType()

The type of the traffic jam.

void serialize(Archive archive)

Constructor Detail

JamTypeColor

public JamTypeColor (@NonNull JamType jamType, int jamColor)

JamTypeColor

public JamTypeColor ()

Use constructor with parameters in your code.

This one is for bindings only!

Method Detail

getJamColor

public int getJamColor ()

Traffic jam color.

getJamType

public JamType getJamType ()

The type of the traffic jam.

serialize

public void serialize (Archive archive)