AndroidJavaObject Inherits from IDisposable

AndroidJavaObject is the Unity representation of a generic instance of java.lang.Object.

It can be used as type-less interface to an instance of any Java class.

Constructors
AndroidJavaObject

Construct an AndroidJavaObject based on the name of the class.

Functions
Dispose

IDisposable callback.

Call

Calls a Java method on an object (non-static).

CallStatic

Call a static Java method on a class.

Get

Get the value of a field in an object (non-static).

Set

Set the value of a field in an object (non-static).

GetStatic

Get the value of a static field in an object type.

SetStatic

Set the value of a static field in an object type.

GetRawObject

Retrieve the raw jobject pointer to the Java object.

GetRawClass

Retrieve the raw jclass pointer to the Java class.

Call

Call a Java method on an object.

CallStatic

Call a static Java method on a class.