Add 'engine/' from commit 'a8e37fc010'
git-subtree-dir: engine git-subtree-mainline:b74841629egit-subtree-split:a8e37fc010
This commit is contained in:
commit
c3f9669b10
14113 changed files with 7458101 additions and 0 deletions
40
engine/doc/classes/JavaClass.xml
Normal file
40
engine/doc/classes/JavaClass.xml
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="JavaClass" inherits="RefCounted" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
||||
<brief_description>
|
||||
Represents a class from the Java Native Interface.
|
||||
</brief_description>
|
||||
<description>
|
||||
Represents a class from the Java Native Interface. It is returned from [method JavaClassWrapper.wrap].
|
||||
[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_name" qualifiers="const">
|
||||
<return type="String" />
|
||||
<description>
|
||||
Returns the Java class name.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_java_method_list" qualifiers="const">
|
||||
<return type="Dictionary[]" />
|
||||
<description>
|
||||
Returns the object's Java methods and their signatures as an [Array] of dictionaries, in the same format as [method Object.get_method_list].
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_java_parent_class" qualifiers="const">
|
||||
<return type="JavaClass" />
|
||||
<description>
|
||||
Returns a [JavaClass] representing the Java parent class of this class.
|
||||
</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