AndroidJNI.CallStaticObjectMethod 调用静态对象方法

static function CallStaticObjectMethod (clazz : IntPtr, methodID : IntPtr, args : jvalue[]) : IntPtr

Description描述

Invokes a static method on a Java object, according to the specified methodID, optionally passing an array of arguments (args) to the method.

在一个Java对象调用一个静态方法,根据指定的methodID,可选传递参数(args)的数组到该方法。

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

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

参见: Java Native Interface Specification (Oracle)


,