调用静态字符串方法

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

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

这是一个方便的函数,调用带有相同参数的CallStaticObjectMethod(),但从该结果创建一个托管字符串。

参见:AndroidJNI.CallStaticObjectMethod


,