addProgressChangeListener

open fun addProgressChangeListener(navigation: MapboxNavigation)

This method can be called if you did not pass an instance of MapboxNavigation to the constructor.

The camera will begin listening to progress updates and update the route accordingly.

Parameters

navigation

to add the camera progress change listener