Class NavigationInfo

java.lang.Object
com.navmii.sdk.navigation.NavigationInfo

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

    Constructors 
    Constructor Description
    NavigationInfo​(RoadInfo currentRoadInfo, float speedLimit, float currentSpeed, Country country)  
  • Method Summary

    Modifier and Type Method Description
    Country getCountry()
    The country of the current location.
    RoadInfo getCurrentRoadInfo()
    The information about the current road.
    float getCurrentSpeed()
    The current speed in km/h.
    float getSpeedLimit()
    The speed limit of the current road in km/h.
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • getCurrentRoadInfo

      public RoadInfo getCurrentRoadInfo()
      The information about the current road.
    • 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