RenderProcessGoneDetail

public abstract class RenderProcessGoneDetail
extends Object

java.lang.Object
   ↳ android.webkit.RenderProcessGoneDetail


This class provides more specific information about why the render process exited. The application may use this to decide how to handle the situation.

Summary

Public constructors

RenderProcessGoneDetail()

Public methods

abstract boolean didCrash()

Indicates whether the render process was observed to crash, or whether it was killed by the system.

abstract int rendererPriorityAtExit()

Returns the renderer priority that was set at the time that the renderer exited.

Inherited methods

Public constructors

RenderProcessGoneDetail

added in API level 26
public RenderProcessGoneDetail ()

Public methods

didCrash

added in API level 26
public abstract boolean didCrash ()

Indicates whether the render process was observed to crash, or whether it was killed by the system. If the render process was killed, this is most likely caused by the system being low on memory.

Returns
boolean true if render process crashed, otherwise it was killed by system.

rendererPriorityAtExit

added in API level 26
public abstract int rendererPriorityAtExit ()

Returns the renderer priority that was set at the time that the renderer exited. This may be greater than the priority that any individual WebView requested using WebView.setRendererPriorityPolicy(int, boolean).

Returns
int the priority of the renderer at exit.

Value is RENDERER_PRIORITY_WAIVED, RENDERER_PRIORITY_BOUND or RENDERER_PRIORITY_IMPORTANT.