RendererPriorityPolicy class Null safety
Class that represents the priority policy will be used to determine whether an out of process renderer should be considered to be a target for OOM killing. When a WebView is destroyed it will cease to be considerered when calculating the renderer priority. Once no WebViews remain associated with the renderer, the priority of the renderer will be reduced to RendererPriority.RENDERER_PRIORITY_WAIVED. The default policy is to set the priority to RendererPriority.RENDERER_PRIORITY_IMPORTANT regardless of visibility, and this should not be changed unless the caller also handles renderer crashes with WebView.androidOnRenderProcessGone. Any other setting will result in WebView renderers being killed by the system more aggressively than the application.
- hashCode → int
The hash code for this object.
- rendererRequestedPriority ↔ RendererPriority?
The minimum priority at which this WebView desires the renderer process to be bound.
read / write
- runtimeType → Type
A representation of the runtime type of the object.
- waivedWhenNotVisible ↔ bool
If true, this flag specifies that when this WebView is not visible, it will be treated as if it had requested a priority of RendererPriority.RENDERER_PRIORITY_WAIVED.
read / write