diff options
author | David Snopek <dsnopek@gmail.com> | 2024-08-20 16:53:57 -0500 |
---|---|---|
committer | David Snopek <dsnopek@gmail.com> | 2024-09-02 08:54:23 -0500 |
commit | 78883a52c64adbab56aaa363138a9f661a67d48e (patch) | |
tree | e9d861c018da9cfaa84ff82a40bd460ef0cb33e4 /doc/classes/JavaObject.xml | |
parent | a5830f6eb9fe25fbb7e58a723dbea8509aec8a85 (diff) | |
download | redot-engine-78883a52c64adbab56aaa363138a9f661a67d48e.tar.gz |
Fix `JavaClassWrapper` so it actually works
Diffstat (limited to 'doc/classes/JavaObject.xml')
-rw-r--r-- | doc/classes/JavaObject.xml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/classes/JavaObject.xml b/doc/classes/JavaObject.xml new file mode 100644 index 0000000000..f38070e7d9 --- /dev/null +++ b/doc/classes/JavaObject.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<class name="JavaObject" inherits="RefCounted" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> + <brief_description> + Represents an object from the Java Native Interface. + </brief_description> + <description> + Represents an object from the Java Native Interface. It can be returned from Java methods called on [JavaClass] or other [JavaObject]s. See [JavaClassWrapper] for an example. + [b]Note:[/b] This class only works on Android. On any other platform, this class does nothing. + [b]Note:[/b] This class is not to be confused with [JavaScriptObject]. + </description> + <tutorials> + </tutorials> + <methods> + <method name="get_java_class" qualifiers="const"> + <return type="JavaClass" /> + <description> + Returns the [JavaClass] that this object is an instance of. + </description> + </method> + </methods> +</class> |