Udostępnij za pośrednictwem


WebView.SetWebViewRenderProcessClient Method

Definition

Sets the renderer client object associated with this WebView.

[Android.Runtime.Register("setWebViewRenderProcessClient", "(Ljava/util/concurrent/Executor;Landroid/webkit/WebViewRenderProcessClient;)V", "GetSetWebViewRenderProcessClient_Ljava_util_concurrent_Executor_Landroid_webkit_WebViewRenderProcessClient_Handler", ApiSince=29)]
public virtual void SetWebViewRenderProcessClient (Java.Util.Concurrent.IExecutor executor, Android.Webkit.WebViewRenderProcessClient webViewRenderProcessClient);
[<Android.Runtime.Register("setWebViewRenderProcessClient", "(Ljava/util/concurrent/Executor;Landroid/webkit/WebViewRenderProcessClient;)V", "GetSetWebViewRenderProcessClient_Ljava_util_concurrent_Executor_Landroid_webkit_WebViewRenderProcessClient_Handler", ApiSince=29)>]
abstract member SetWebViewRenderProcessClient : Java.Util.Concurrent.IExecutor * Android.Webkit.WebViewRenderProcessClient -> unit
override this.SetWebViewRenderProcessClient : Java.Util.Concurrent.IExecutor * Android.Webkit.WebViewRenderProcessClient -> unit

Parameters

executor
IExecutor

the Executor on which WebViewRenderProcessClient callbacks will execute.

webViewRenderProcessClient
WebViewRenderProcessClient

the WebViewRenderProcessClient object.

Attributes

Remarks

Sets the renderer client object associated with this WebView.

The renderer client encapsulates callbacks relevant to WebView renderer state. See WebViewRenderProcessClient for details.

Although many WebView instances may share a single underlying renderer, and renderers may live either in the application process, or in a sandboxed process that is isolated from the application process, instances of WebViewRenderProcessClient are set per-WebView. Callbacks represent renderer events from the perspective of this WebView, and may or may not be correlated with renderer events affecting other WebViews.

Java documentation for android.webkit.WebView.setWebViewRenderProcessClient(java.util.concurrent.Executor, android.webkit.WebViewRenderProcessClient).

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