onProgressChanged method
- @SupportedPlatforms.new(platforms: [AndroidPlatform(apiName: 'WebChromeClient.onProgressChanged', apiUrl: 'https://developer.android.com/reference/android/webkit/WebChromeClient#onProgressChanged(android.webkit.WebView,%20int)'), IOSPlatform(), MacOSPlatform(), WindowsPlatform()])
- int progress
Event fired when the current progress of loading a page is changed.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - WebChromeClient.onProgressChanged)
- iOS WKWebView
- macOS WKWebView
- Windows WebView2
Parameters - Officially Supported Platforms/Implementations:
progress: all platforms
Use the PlatformInAppBrowserEvents.isMethodSupported method to check if this method is supported at runtime.
Implementation
@SupportedPlatforms(
platforms: [
AndroidPlatform(
apiName: 'WebChromeClient.onProgressChanged',
apiUrl:
'https://developer.android.com/reference/android/webkit/WebChromeClient#onProgressChanged(android.webkit.WebView,%20int)',
),
IOSPlatform(),
MacOSPlatform(),
WindowsPlatform(),
],
)
void onProgressChanged(int progress) {}