RouteRefreshController

This class lets you manage route refreshes.

Functions

Link copied to clipboard

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.

Link copied to clipboard

Register a RouteRefreshStatesObserver to be notified of Route refresh state changes.

Link copied to clipboard

Immediately refresh current navigation routes. Listen for refreshed routes using RoutesObserver.

Link copied to clipboard

Resumes route refreshes that were paused via pauseRouteRefreshes. If route refreshes are not paused, this is a no-op.