WebViewRenderProcess
public
abstract
class
WebViewRenderProcess
extends Object
| java.lang.Object | |
| ↳ | android.webkit.WebViewRenderProcess |
WebViewRenderProcess provides an opaque handle to a WebView renderer.
Summary
Public constructors | |
|---|---|
WebViewRenderProcess()
|
|
Public methods | |
|---|---|
abstract
boolean
|
terminate()
Cause this renderer to terminate. |
Inherited methods | |
|---|---|
Public constructors
WebViewRenderProcess
public WebViewRenderProcess ()
Public methods
terminate
public abstract boolean terminate ()
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.
This method must be called on the thread that originally created
this UI element. This is typically the
main thread of your app.
| Returns | |
|---|---|
boolean |
true if it was possible to terminate this renderer, false otherwise. |