Merge commit '921d0574a0' as 'engine'
This commit is contained in:
commit
add768b79b
14224 changed files with 7489260 additions and 0 deletions
28
engine/doc/classes/JavaObject.xml
Normal file
28
engine/doc/classes/JavaObject.xml
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="JavaObject" inherits="RefCounted" api_type="core" 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue