This version of Unity is unsupported.

AndroidJNI.CallStringMethod

Declaration

public static string CallStringMethod(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 is a convenience function that calls CallObjectMethod() with the same parameters, but creates a managed string from the result.

See Also: AndroidJNI.CallObjectMethod.