Added in API level 26

RenderProcessGoneDetail

abstract class RenderProcessGoneDetail
kotlin.Any
   ↳ 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

Public methods
abstract Boolean

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

abstract Int

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

Public constructors

RenderProcessGoneDetail

Added in API level 26
RenderProcessGoneDetail()

Deprecated: This class should not be constructed by applications.

Public methods

didCrash

Added in API level 26
abstract fun didCrash(): Boolean

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.

Return
Boolean true if render process crashed, otherwise it was killed by system.

rendererPriorityAtExit

Added in API level 26
abstract fun rendererPriorityAtExit(): Int

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.

Return
Int the priority of the renderer at exit. Value is android.webkit.WebView#RENDERER_PRIORITY_WAIVED, android.webkit.WebView#RENDERER_PRIORITY_BOUND, or android.webkit.WebView#RENDERER_PRIORITY_IMPORTANT