2020-01-19 23:19:21 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2023-07-06 10:08:05 +02:00
|
|
|
<class name="JavaClass" inherits="RefCounted" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
2020-01-19 23:19:21 +01:00
|
|
|
<brief_description>
|
2024-08-20 23:53:57 +02:00
|
|
|
Represents a class from the Java Native Interface.
|
2020-01-19 23:19:21 +01:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2024-08-20 23:53:57 +02:00
|
|
|
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.
|
2024-01-05 11:38:27 +01:00
|
|
|
[b]Note:[/b] This class is not to be confused with [JavaScriptObject].
|
2020-01-19 23:19:21 +01:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
2024-08-20 23:53:57 +02:00
|
|
|
<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>
|
|
|
|
</methods>
|
2020-01-19 23:19:21 +01:00
|
|
|
</class>
|