Package 

Class SpeedLimit

  • All Implemented Interfaces:
    android.os.Parcelable

    
    public final class SpeedLimit
     implements Parcelable
                        

    Speed limit

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class SpeedLimit.Companion
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Integer getUnit() The speed unit: SpeedUnit.KPH, SpeedUnit.MPH
      final Integer getValue() Speed value -1 INVALID_SPEED_LIMIT indicates speed limit does not exist on road.
      final Double toMetersPerSecond() Convert speed limit from various units to meters per second
      • Methods inherited from class android.os.Parcelable

        describeContents, writeToParcel
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait