12345678910111213141516171819202122232425262728 |
- <?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>
- <method name="has_java_method" qualifiers="const">
- <return type="bool" />
- <param index="0" name="method" type="StringName" />
- <description>
- Returns [code]true[/code] if the given [param method] name exists in the object's Java methods.
- </description>
- </method>
- </methods>
- </class>
|