AndroidJNI.GetStaticStringField 获取静态字符串域

static function GetStaticStringField (clazz : IntPtr, fieldID : IntPtr) : string

Description描述

This function returns the value of a static field of an object.

这个函数返回一个对象静态域的值。

This is a convenience function that calls GetStaticObjectField() with the same parameters, but creates a managed string from the result.

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

参见:AndroidJNI.GetStaticObjectFieldJava Native Interface Specification (Oracle)

Page last updated: 2011-4-13