Package com.navmii.sdk.navigation
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, RoadFeature currentRoadFeature, float speedLimit, float currentSpeed, Country country)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Country
getCountry()
The country of the current location.RoadFeature
getCurrentRoadFeature()
The information about the current road feature.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()
-
-
-
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 classjava.lang.Object
-
-