-
- All Implemented Interfaces:
public final class SpeedInfoContainer of a current speed information.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classSpeedInfo.Companion
-
Field Summary
Fields Modifier and Type Field Description private final FloatvehicleSpeedprivate final FloatspeedLimitprivate final IntegercurrentRoadTypeprivate final IntegercurrentRoadSubType
-
Method Summary
Modifier and Type Method Description final FloatgetVehicleSpeed()Vehicle speed in m/s final FloatgetSpeedLimit()Current road speed limit in m/s INVALID_SPEED_LIMIT means speed limit does not exist on road. final IntegergetCurrentRoadType()final IntegergetCurrentRoadSubType()-
-
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()
-
-
-
-