Class NavigationInfo


  • public final class NavigationInfo
    extends java.lang.Object
    • Constructor Detail

      • NavigationInfo

        public NavigationInfo​(RoadInfo currentRoadInfo,
                              RoadFeature currentRoadFeature,
                              float speedLimit,
                              float currentSpeed,
                              Country country)
    • Method Detail

      • getCurrentRoadInfo

        public RoadInfo getCurrentRoadInfo()
        The information about the current road.
      • getCurrentRoadFeature

        public RoadFeature getCurrentRoadFeature()
        The information about the current road feature.
      • getSpeedLimit

        public float getSpeedLimit()
        The speed limit of the current road in km/h.
      • getCurrentSpeed

        public float getCurrentSpeed()
        The current speed in km/h.
      • getCountry

        public Country getCountry()
        The country of the current location.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object