ProcessFailedKind class

Class used to indicate the kind of process failure that has occurred.

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isSupported() bool
Checks if the value is supported by the defaultTargetPlatform.
name() String
Gets the name of the value.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toNativeValue() int?
Gets int native value if supported by the current platform, otherwise null.
toString() String
A string representation of this object.
override
toValue() String
Gets String value.

Operators

operator ==(Object value) bool
The equality operator.
override

Static Properties

BROWSER_PROCESS_EXITED ProcessFailedKind
Indicates that the browser process ended unexpectedly. The WebView automatically moves to the Closed state. The app has to recreate a new WebView to recover from this failure.
final
FRAME_RENDER_PROCESS_EXITED ProcessFailedKind
Indicates that a frame-only render process ended unexpectedly. The process exit does not affect the top-level document, only a subset of the subframes within it. The content in these frames is replaced with an error page in the frame.
final
GPU_PROCESS_EXITED ProcessFailedKind
Indicates that the GPU process ended unexpectedly. The failed process is recreated automatically. Your application does not need to handle recovery for this event.
final
PPAPI_BROKER_PROCESS_EXITED ProcessFailedKind
Indicates that a PPAPI plugin broker process ended unexpectedly. This failure is not fatal. Your application does not need to handle recovery for this event.
final
PPAPI_PLUGIN_PROCESS_EXITED ProcessFailedKind
Indicates that a PPAPI plugin process ended unexpectedly. This failure is not fatal. Your application does not need to handle recovery for this event.
final
RENDER_PROCESS_EXITED ProcessFailedKind
Indicates that the main frame's render process ended unexpectedly. Any subframes in the WebView will be gone too. A new render process is created automatically and navigated to an error page. You can use the reload method to try to recover from this failure. Alternatively, you can close and recreate the WebView.
final
RENDER_PROCESS_UNRESPONSIVE ProcessFailedKind
Indicates that the main frame's render process is unresponsive. Renderer process unresponsiveness can happen for the following reasons:
final
SANDBOX_HELPER_PROCESS_EXITED ProcessFailedKind
Indicates that a sandbox helper process ended unexpectedly. This failure is not fatal. Your application does not need to handle recovery for this event.
final
UNKNOWN_PROCESS_EXITED ProcessFailedKind
Indicates that a process of unspecified kind ended unexpectedly.
final
UTILITY_PROCESS_EXITED ProcessFailedKind
Indicates that a utility process ended unexpectedly. The failed process is recreated automatically. Your application does not need to handle recovery for this event.
final
values Set<ProcessFailedKind>
Set of all values of ProcessFailedKind.
final

Static Methods

asNameMap() Map<String, ProcessFailedKind>
Creates a map from the names of ProcessFailedKind values to the values.
byName(String? name) ProcessFailedKind?
Gets a possible ProcessFailedKind instance value with name name.
fromNativeValue(int? value) ProcessFailedKind?
Gets a possible ProcessFailedKind instance from a native value.
fromValue(String? value) ProcessFailedKind?
Gets a possible ProcessFailedKind instance from String value.