Stay organized with collections Save and categorize content based on your preferences.

androidx.javascriptengine

The androidx.javascriptengine library is a static library you can add to your Android application in order to evaluate JavaScript.

Classes

IsolateStartupParameters

Class used to set startup parameters for JavaScriptIsolate.

JavaScriptIsolate

Environment within a JavaScriptSandbox where Javascript is executed.

JavaScriptSandbox

Sandbox that provides APIs for JavaScript evaluation in a restricted environment.

Exceptions

EvaluationFailedException

Wrapper for the exception thrown by the JS evaluation engine.

IsolateTerminatedException

Exception thrown when evaluation is terminated due to JavaScriptIsolate being closed.

JavaScriptException

Super class for all exceptions resolved by evaluateJavaScriptAsync.

SandboxDeadException

Exception thrown when evaluation is terminated due the JavaScriptSandbox being dead.

SandboxUnsupportedException

Exception thrown when attempting to create a JavaScriptSandbox via createConnectedInstanceAsync when doing so is not supported.