reckfellENGINE

JavaClass

Represents a class from the Java Native Interface.

On this page
class JavaClassReckfellSharpInherits RefCounted

Represents a class from the Java Native Interface.

Represents a class from the Java Native Interface. It is returned from JavaClassWrapper.Wrap. Note: This class only works on Android. On any other platform, this class does nothing. Note: This class is not to be confused with JavaScriptObject.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Constructors1

JavaClassConstructor
# JavaClass
C#
public JavaClass();

Methods4

GetJavaClassNamestring
# GetJavaClassName
C#
public string GetJavaClassName();

Returns the Java class name.

Returns string
GetJavaMethodListReckfell.Collections.Array<Reckfell.Collections.Dictionary>
# GetJavaMethodList
C#
public Reckfell.Collections.Array<Reckfell.Collections.Dictionary> GetJavaMethodList();

Returns the object's Java methods and their signatures as an Reckfell.Collections.Array of dictionaries, in the same format as ReckfellObject.GetMethodList.

Returns Reckfell.Collections.Array<Reckfell.Collections.Dictionary>
GetJavaParentClassJavaClass
# GetJavaParentClass
C#
public JavaClass GetJavaParentClass();

Returns a JavaClass representing the Java parent class of this class.

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

Returns true if the given method name exists in the object'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.