reckfellENGINE

JniSingleton

Singleton that connects the engine with Android plugins to interface with native Android code.

On this page
class JniSingletonReckfellSharpInherits ReckfellObject

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
# JniSingleton
C#
public JniSingleton();

Methods1

HasJavaMethodbool
# HasJavaMethod
C#
public bool HasJavaMethod(StringName method);

Returns true if the given method name exists in the JNISingleton's Java methods.

Parameters
NameTypeDefault
methodStringName—
Returns bool
Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.