This version of Unity is unsupported.

AndroidJNI.CallObjectMethod

Declaration

public static IntPtr CallObjectMethod(IntPtr obj, IntPtr methodID, jvalue[] args);

Description

Calls a Java instance method defined by methodID, optionally passing an array of arguments (args) to the method.

This method returns a reference to a java.lang.Object, or a subclass thereof.

See Also: Java Native Interface Specification (Oracle)