This section documents the Java classes used for LiveConnect, along with their constructors and methods. These classes allow a Java object to access JavaScript code.
- The public class
JSException
extendsRuntimeException
, and is thrown when JavaScript returns an error.
- The public class
JSObject
extendsObject
. JavaScript objects are wrapped in an instance of the classJSObject
and passed to Java, allowing Java to manipulate JavaScript objects.