Interface NextDirectionChangedListener


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

      • 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.