Class JamSegment
Package com.yandex.mapkit.navigation
java.lang.Object
↳ com.yandex.mapkit.navigation.JamSegment
class JamSegment implements Serializable
A segment of a traffic jam that has specific traffic conditions.
Summary
Constructors
|
Signature and Description |
|
JamSegment(@NonNull JamType jamType, |
|
JamSegment() |
Methods
|
Type and modifiers |
Method and Description |
|
getJamType() |
|
|
double |
getSpeed() |
|
void |
serialize(com.yandex.runtime.bindings.Archive archive) |
Constuctors
JamSegment
|
JamSegment(@NonNull JamType jamType, |
JamSegment
|
JamSegment() |
Use constructor with parameters in your code.
This one is for bindings only!
Methods
getJamType
|
@NonNull |
The type of the traffic jam.
getSpeed
|
double getSpeed() |
The speed at which traffic is moving.
serialize
|
@Override |