0.2.0-dev Download ZIP
40 lines ·1.6 KB Raw
| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="JavaClass" inherits="RefCounted" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> |
| 3 | <brief_description> |
| 4 | Represents a class from the Java Native Interface. |
| 5 | </brief_description> |
| 6 | <description> |
| 7 | Represents a class from the Java Native Interface. It is returned from [method JavaClassWrapper.wrap]. |
| 8 | [b]Note:[/b] This class only works on Android. On any other platform, this class does nothing. |
| 9 | [b]Note:[/b] This class is not to be confused with [JavaScriptObject]. |
| 10 | </description> |
| 11 | <tutorials> |
| 12 | </tutorials> |
| 13 | <methods> |
| 14 | <method name="get_java_class_name" qualifiers="const"> |
| 15 | <return type="String" /> |
| 16 | <description> |
| 17 | Returns the Java class name. |
| 18 | </description> |
| 19 | </method> |
| 20 | <method name="get_java_method_list" qualifiers="const"> |
| 21 | <return type="Dictionary[]" /> |
| 22 | <description> |
| 23 | Returns the object's Java methods and their signatures as an [Array] of dictionaries, in the same format as [method Object.get_method_list]. |
| 24 | </description> |
| 25 | </method> |
| 26 | <method name="get_java_parent_class" qualifiers="const"> |
| 27 | <return type="JavaClass" /> |
| 28 | <description> |
| 29 | Returns a [JavaClass] representing the Java parent class of this class. |
| 30 | </description> |
| 31 | </method> |
| 32 | <method name="has_java_method" qualifiers="const"> |
| 33 | <return type="bool" /> |
| 34 | <param index="0" name="method" type="StringName" /> |
| 35 | <description> |
| 36 | Returns [code]true[/code] if the given [param method] name exists in the object's Java methods. |
| 37 | </description> |
| 38 | </method> |
| 39 | </methods> |
| 40 | </class> |