-
- All Implemented Interfaces:
public final class SpeedInfo
Container of a current speed information.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
SpeedInfo.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Float
vehicleSpeed
private final Float
speedLimit
private final Integer
currentRoadType
private final Integer
currentRoadSubType
-
Method Summary
Modifier and Type Method Description final Float
getVehicleSpeed()
Vehicle speed in m/s final Float
getSpeedLimit()
Current road speed limit in m/s INVALID_SPEED_LIMIT means speed limit does not exist on road. final Integer
getCurrentRoadType()
final Integer
getCurrentRoadSubType()
-
-
Method Detail
-
getVehicleSpeed
final Float getVehicleSpeed()
Vehicle speed in m/s
-
getSpeedLimit
final Float getSpeedLimit()
Current road speed limit in m/s INVALID_SPEED_LIMIT means speed limit does not exist on road. UNLIMITED_SPEED means the speed is not limited.
-
getCurrentRoadType
final Integer getCurrentRoadType()
-
getCurrentRoadSubType
final Integer getCurrentRoadSubType()
-
-
-
-