Stay organized with collections
Save and categorize content based on your preferences.
RenderProcessGoneDetail
abstract class 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 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
RenderProcessGoneDetail()
Deprecated: This class should not be constructed by applications.
Public methods
didCrash
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
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
.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# RenderProcessGoneDetail\n\nAdded in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nRenderProcessGoneDetail\n=======================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/webkit/RenderProcessGoneDetail \"View this page in Java\") \n\n```\nabstract class RenderProcessGoneDetail\n```\n\n|---|---------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.webkit.RenderProcessGoneDetail](#) |\n\nThis class provides more specific information about why the render process exited. The application may use this to decide how to handle the situation.\n\nSummary\n-------\n\n| Public constructors ||\n|------------------------------------------------------------------|---|\n| [RenderProcessGoneDetail](#RenderProcessGoneDetail())`()` \u003cbr /\u003e |\n\n| Public methods ||\n|---------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | [didCrash](#didCrash())`()` Indicates whether the render process was observed to crash, or whether it was killed by the system. |\n| abstract [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [rendererPriorityAtExit](#rendererPriorityAtExit())`()` Returns the renderer priority that was set at the time that the renderer exited. |\n\nPublic constructors\n-------------------\n\n### RenderProcessGoneDetail\n\nAdded in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nRenderProcessGoneDetail()\n```\n\n**Deprecated:** *This class should not be constructed by applications.*\n\nPublic methods\n--------------\n\n### didCrash\n\nAdded in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nabstract fun didCrash(): Boolean\n```\n\nIndicates 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.\n\n| Return ||\n|------------------------------------------------------------------------------------|----------------------------------------------------------------------|\n| [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | `true` if render process crashed, otherwise it was killed by system. |\n\n### rendererPriorityAtExit\n\nAdded in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nabstract fun rendererPriorityAtExit(): Int\n```\n\nReturns the renderer priority that was set at the time that the renderer exited. This may be greater than the priority that any individual [WebView](/reference/kotlin/android/webkit/WebView) requested using [WebView.setRendererPriorityPolicy](/reference/kotlin/android/webkit/WebView#setRendererPriorityPolicy(kotlin.Int,%20kotlin.Boolean)).\n\n| Return ||\n|----------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | the priority of the renderer at exit. Value is [android.webkit.WebView#RENDERER_PRIORITY_WAIVED](/reference/kotlin/android/webkit/WebView#RENDERER_PRIORITY_WAIVED:kotlin.Int), [android.webkit.WebView#RENDERER_PRIORITY_BOUND](/reference/kotlin/android/webkit/WebView#RENDERER_PRIORITY_BOUND:kotlin.Int), or [android.webkit.WebView#RENDERER_PRIORITY_IMPORTANT](/reference/kotlin/android/webkit/WebView#RENDERER_PRIORITY_IMPORTANT:kotlin.Int) |"]]