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()

This constructor is deprecated. This class should not be constructed by applications.

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 ()

This constructor is deprecated.
This class should not be constructed by applications.

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.

Returns
int the priority of the renderer at exit. Value is WebView.RENDERER_PRIORITY_WAIVED, WebView.RENDERER_PRIORITY_BOUND, or WebView.RENDERER_PRIORITY_IMPORTANT