mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Implement has_java_method(...) for JavaClassWrapper and JNISingleton
This commit is contained in:
@@ -9,4 +9,13 @@
|
||||
<tutorials>
|
||||
<link title="Creating Android plugins">$DOCS_URL/tutorials/platform/android/android_plugin.html#doc-android-plugin</link>
|
||||
</tutorials>
|
||||
<methods>
|
||||
<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 JNISingleton's Java methods.
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
</class>
|
||||
|
||||
@@ -29,5 +29,12 @@
|
||||
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>
|
||||
|
||||
@@ -17,5 +17,12 @@
|
||||
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>
|
||||
|
||||
Reference in New Issue
Block a user