Udostępnij za pośrednictwem


WebViewRenderProcess.Terminate Method

Definition

Cause this renderer to terminate.

[Android.Runtime.Register("terminate", "()Z", "GetTerminateHandler", ApiSince=29)]
public abstract bool Terminate ();
[<Android.Runtime.Register("terminate", "()Z", "GetTerminateHandler", ApiSince=29)>]
abstract member Terminate : unit -> bool

Returns

true if it was possible to terminate this renderer, false otherwise.

Attributes

Remarks

Cause this renderer to terminate.

Calling this on a not yet started, or an already terminated renderer will have no effect.

Terminating a renderer process may have an effect on multiple WebView instances.

Renderer termination must be handled by properly overriding WebViewClient#onRenderProcessGone for every WebView that shares this renderer. If termination is not handled by all associated WebViews, then the application process will also be terminated.

Java documentation for android.webkit.WebViewRenderProcess.terminate().

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