RouteRefreshController
This class lets you manage route refreshes.
Functions
Invoked whenever a list of routes changes and immediately when registered (see MapboxNavigation.registerRoutesObserver) if non-empty routes are present.
Pauses route refreshes. If route refreshes are already paused, this is a no-op. After this invocation, no route refreshes will be done, except for the ones that are requested explicitly via refreshRoutesImmediately. To resume route refreshes, invoke resumeRouteRefreshes.
Register a RouteRefreshStatesObserver to be notified of Route refresh state changes.
Immediately refresh current navigation routes. Listen for refreshed routes using RoutesObserver.
Resumes route refreshes that were paused via pauseRouteRefreshes. If route refreshes are not paused, this is a no-op.
Unregisters a RouteRefreshStatesObserver.