summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle <eichlinkyle@gmail.com>2021-06-14 12:44:32 -0400
committerKyle <eichlinkyle@gmail.com>2021-06-14 13:01:32 -0400
commit4eff57d39bb608afdaae8b29f9226481a1520c0b (patch)
treecceea2ef7ba14d87e6c9e8b0891d6462f65a2bdd
parent6c1445bfea9a32a0b08dff5acae722cc91239346 (diff)
Wrote JNISinglton docs
I added a few descriptions and links to the empty JNISingleton class doc.
-rw-r--r--doc/classes/JNISingleton.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/classes/JNISingleton.xml b/doc/classes/JNISingleton.xml
index 84ab1a49c1..fbf18ddc03 100644
--- a/doc/classes/JNISingleton.xml
+++ b/doc/classes/JNISingleton.xml
@@ -1,10 +1,13 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="JNISingleton" inherits="Object" version="4.0">
<brief_description>
+ Singleton that connects the engine with Android plugins to interface with native Android code.
</brief_description>
<description>
+ The JNISingleton is implemented only in the Android export. It's used to call methods and connect signals from an Android plugin written in Java or Kotlin. Methods and signals can be called and connected to the JNISingleton as if it is a Node. See [url=https://en.wikipedia.org/wiki/Java_Native_Interface]Java Native Interface - Wikipedia[/url] for more information.
</description>
<tutorials>
+ <link title="Creating Android plugins">https://docs.godotengine.org/en/latest/tutorials/platform/android/android_plugin.html#doc-android-plugin</link>
</tutorials>
<methods>
</methods>