Up to date
This page is up to date for Godot 4.3
.
If you still find outdated information, please open an issue.
JavaObject¶
Inherits: RefCounted < Object
Represents an object from the Java Native Interface.
Description¶
Represents an object from the Java Native Interface. It can be returned from Java methods called on JavaClass or other JavaObjects. See JavaClassWrapper for an example.
Note: This class only works on Android. On any other platform, this class does nothing.
Note: This class is not to be confused with JavaScriptObject.
Methods¶
get_java_class() const |
Method Descriptions¶
JavaClass get_java_class() const 🔗
Returns the JavaClass that this object is an instance of.