Dela via


WebViewRenderProcessClient.OnRenderProcessResponsive Method

Definition

Called once when an unresponsive renderer currently associated with view becomes responsive.

[Android.Runtime.Register("onRenderProcessResponsive", "(Landroid/webkit/WebView;Landroid/webkit/WebViewRenderProcess;)V", "GetOnRenderProcessResponsive_Landroid_webkit_WebView_Landroid_webkit_WebViewRenderProcess_Handler", ApiSince=29)]
public abstract void OnRenderProcessResponsive (Android.Webkit.WebView view, Android.Webkit.WebViewRenderProcess? renderer);
[<Android.Runtime.Register("onRenderProcessResponsive", "(Landroid/webkit/WebView;Landroid/webkit/WebViewRenderProcess;)V", "GetOnRenderProcessResponsive_Landroid_webkit_WebView_Landroid_webkit_WebViewRenderProcess_Handler", ApiSince=29)>]
abstract member OnRenderProcessResponsive : Android.Webkit.WebView * Android.Webkit.WebViewRenderProcess -> unit

Parameters

view
WebView

The WebView for which responsiveness was detected.

renderer
WebViewRenderProcess

The WebViewRenderProcess that has become responsive, or null if WebView is running in single process mode.

Attributes

Remarks

Called once when an unresponsive renderer currently associated with view becomes responsive.

After a WebView renderer becomes unresponsive, which is notified to the application by WebViewRenderProcessClient#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.

Java documentation for android.webkit.WebViewRenderProcessClient.onRenderProcessResponsive(android.webkit.WebView, android.webkit.WebViewRenderProcess).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to