Outdated documentation

This documentation page refers to Godot 4.3, and may be outdated or incorrect.
Additionally, this engine version is no longer supported.

Check this page in the stable branch for the latest additions and corrections.

JavaClass

Inherits: RefCounted < Object

Represents an object from the Java Native Interface.

Description

Represents an object from the Java Native Interface. It is returned from JavaClassWrapper.wrap.

Note: This class only works on Android. For any other build, this class does nothing.

Note: This class is not to be confused with JavaScriptObject.


User-contributed notes

Please read the User-contributed notes policy before submitting a comment.