Warning
This feature is available in the Full MapKit version.
Package world.mappable.mapkit.directions.driving
Class JamSegment
java.lang.Object
↳ world.mappable.mapkit.directions.driving.JamSegment
All Superinterfaces:
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 |
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 |