pauseTimers method
On Android native WebView, it pauses all layout, parsing, and JavaScript timers for all WebViews. This is a global requests, not restricted to just this WebView. This can be useful if the application has been paused.
NOTE for iOS: it is implemented using JavaScript and it is restricted to just this WebView.
NOTE for MacOS: it is implemented using JavaScript and it is restricted to just this WebView.
Officially Supported Platforms/Implementations:
- Android native WebView (Official API - WebView.pauseTimers)
- iOS
- MacOS
Implementation
Future<void> pauseTimers() => platform.pauseTimers();