JavaScriptAndroidSandboxUnsupportedException class final
Exception thrown when attempting to create a JavaScriptSandbox via createConnectedInstanceAsync when doing so is not supported.
This can occur when the WebView package is too old to provide a sandbox implementation.
Refer: https://developer.android.com/reference/kotlin/androidx/javascriptengine/SandboxUnsupportedException
- Inheritance
-
- Object
- JavaScriptAndroidEnvironmentDeadException
- JavaScriptAndroidSandboxUnsupportedException
- Implemented types
Constructors
- JavaScriptAndroidSandboxUnsupportedException.new(PlatformException platformException)
-
Creates a new JavaScriptAndroidSandboxUnsupportedException with the given
platformException
.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
The message of the exception.
finalinherited
- platformException → PlatformException
-
The platform exception that caused the environment dead exception.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String - A string representation of this object.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
isMatch(
PlatformException e) → bool