AndroidJNI.CallObjectMethod 调用对象方法


static function CallObjectMethod (obj : IntPtr, methodID : IntPtr, args : jvalue[]) : IntPtr

Description描述

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

调用一个由methodID定义的实例的Java方法,可选择传递参数(args)的数组到这个方法。

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

这个方法返回一个引用到java.lang.Object,或者其子类。

参见: Java Native Interface Specification (Oracle)


,