Class JamTypeColor

com.yandex.mapkit.transport.masstransit

java.lang.Object ⇽ JamTypeColor

public class JamTypeColor

Color for a 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 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 traffic jam.

serialize

public void serialize (Archive archive)