소스 검색

Merge pull request #49605 from likeich/jnisingleton_docs

Wrote JNISingleton docs
Max Hilbrunner 4 년 전
부모
커밋
43a9a9f680
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      doc/classes/JNISingleton.xml

+ 3 - 0
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>