Interface NextDirectionChangedListener


public interface NextDirectionChangedListener
An interface allowing to listen when next direction changes while navigating on a route.
  • Method Summary

    Modifier and Type Method Description
    void onNextDirectionChanged​(Direction nextDirection, int distanceInMeters)
    The method is called once the next direction changes.
  • Method Details

    • onNextDirectionChanged

      void onNextDirectionChanged​(Direction nextDirection, int distanceInMeters)
      The method is called once the next direction changes.
      Parameters:
      nextDirection - Next direction information;
      distanceInMeters - Distance to next direction in meters.