add Progress Change Listener
Can be used to automatically drive the map camera, puck and route updateswhen STARTED.
Use removeProgressChangeListener when the session is finished to avoid leaks.
See also
com.mapbox.navigation.core.MapboxNavigation
MapboxNavigation#startTripSession()
Parameters
navigation
to add the progress listeners
@Deprecated()
Content copied to clipboard
Deprecated
Use addProgressChangeListener Can be used to automatically drive the map camera, puck and route updateswhen STARTED.
Use removeProgressChangeListener when the session is finished to avoid leaks.
See also
com.mapbox.navigation.core.MapboxNavigation
MapboxNavigation#startTripSession()
Parameters
navigation
to add the progress listeners
enableVanishingRouteLine
determines if the route line should vanish behind the puck.