Interface NavigationInfoChangedListener


public interface NavigationInfoChangedListener
An interface allowing to listen to navigation info changes while navigating on a route.
  • Method Summary

    Modifier and Type Method Description
    void onNavigationInfoChanged​(Direction nextDirection, int distanceToNextDirectionInMeters, PositionOnRoute positionOnRoute)
    The method is called once at least one of the following changes: next direction, distance to it or position on route.
  • Method Details

    • onNavigationInfoChanged

      void onNavigationInfoChanged​(Direction nextDirection, int distanceToNextDirectionInMeters, PositionOnRoute positionOnRoute)
      The method is called once at least one of the following changes: next direction, distance to it or position on route.
      Parameters:
      nextDirection - The next direction information;
      distanceToNextDirectionInMeters - Distance to the next direction in meters;
      positionOnRoute - Position on route.