onRenderProcessResponsive property
- @SupportedPlatforms.new(platforms: [AndroidPlatform(apiName: 'WebViewRenderProcessClient.onRenderProcessResponsive', apiUrl: 'https://developer.android.com/reference/android/webkit/WebViewRenderProcessClient#onRenderProcessResponsive(android.webkit.WebView,%20android.webkit.WebViewRenderProcess)', available: '29')])
final
Event called once when an unresponsive renderer currently associated with the WebView becomes responsive.
After a WebView renderer becomes unresponsive, which is notified to the application by onRenderProcessUnresponsive, it is possible for the blocking renderer task to complete, returning the renderer to a responsive state. In that case, this method is called once to indicate responsiveness.
No action is taken by WebView as a result of this method call.
Officially Supported Platforms/Implementations:
- Android WebView 29+ (Official API - WebViewRenderProcessClient.onRenderProcessResponsive)
Parameters - Officially Supported Platforms/Implementations:
url: all platforms
Use the PlatformWebViewCreationParams.isPropertySupported method to check if this property is supported at runtime.
Implementation
@SupportedPlatforms(
platforms: [
AndroidPlatform(
apiName: 'WebViewRenderProcessClient.onRenderProcessResponsive',
apiUrl:
'https://developer.android.com/reference/android/webkit/WebViewRenderProcessClient#onRenderProcessResponsive(android.webkit.WebView,%20android.webkit.WebViewRenderProcess)',
available: '29',
),
],
)
final FutureOr<WebViewRenderProcessAction?> Function(
T controller,
WebUri? url,
)?
onRenderProcessResponsive;