androidx.javascriptengine
The androidx.javascriptengine library is a static library you can add to your Android application in order to evaluate JavaScript.
Interfaces
JavaScriptConsoleCallback | Can be associated with an isolate to receive and process console messages and events from it. |
Classes
IsolateStartupParameters | Class used to set startup parameters for |
JavaScriptConsoleCallback.ConsoleMessage | Representation of a console message, such as produced by console.log. |
JavaScriptIsolate | Environment within a |
JavaScriptSandbox | Sandbox that provides APIs for JavaScript evaluation in a restricted environment. |
TerminationInfo | Information about how and why an isolate has terminated. |
Exceptions
DataInputException | Indicates that streaming JavaScript code into the JS evaluation environment has failed. |
EvaluationFailedException | Indicates that an evaluation failed due to a syntax error or exception produced by the script. |
EvaluationResultSizeLimitExceededException | Indicates that a JavaScriptIsolate's evaluation failed due to it returning an oversized result. |
IsolateTerminatedException | Exception produced when evaluation is terminated due to the |
JavaScriptException | Super class for all asynchronous exceptions produced by |
MemoryLimitExceededException | Indicates that a JavaScriptIsolate's evaluation failed due to the isolate exceeding its heap size limit. |
SandboxDeadException | Exception thrown when evaluation is terminated due the |
SandboxUnsupportedException | Exception thrown when attempting to create a |