JniSingleton
Singleton that connects the engine with Android plugins to interface with native Android code.
Singleton that connects the engine with Android plugins to interface with native Android code.
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 Entity. See Java Native Interface - Wikipedia for more information.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
JniSingletonConstructor
public JniSingleton();Methods1
HasJavaMethodbool
public bool HasJavaMethod(StringName method);Returns true if the given method name exists in the JNISingleton's Java methods.
| Name | Type | Default |
|---|---|---|
method | StringName | — |
Returns
boolReckfell Engine documentationBack to top ↑