...
- update of navigation information (see Navigation Info section)
- change of country of current location
- demo route start
- demo route stop
...
To understand how road information is presented in the SDK please refer to Road Info section. Here is an example of code giving you the idea how to retrieve this information:
...
Code Block | ||
---|---|---|
| ||
RoadInfo roadInfo = navigationInfo.getCurrentRoadgetCurrentRoadInfo(); Log.i("NavigationInfo", String.format("road name - %s", roadInfo.getName())); Log.i("NavigationInfo", String.format("route number - %s", roadInfo.getRouteNumber())); Log.i("NavigationInfo", String.format("road usage - %s", roadInfo.getUsage())); Log.i("NavigationInfo", String.format("road class - %s", roadInfo.getRoadClass())); |