JavaObject
Represents an object from the Java Native Interface.
Represents an object from the Java Native Interface.
Represents an object from the Java Native Interface. It can be returned from Java methods called on JavaClass or other JavaObjects. See JavaClassWrapper for an example.
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
JavaObjectConstructor
public JavaObject();Methods2
GetJavaClassJavaClass
public JavaClass GetJavaClass();Returns the JavaClass that this object is an instance of.
Returns
JavaClassHasJavaMethodbool
public bool HasJavaMethod(StringName method);Returns true if the given method name exists in the object's Java methods.
| Name | Type | Default |
|---|---|---|
method | StringName | — |
Returns
boolReckfell Engine documentationBack to top ↑