AndroidJNI.GetStringField 获取字符串域


static function GetStringField (obj : IntPtr, fieldID : IntPtr) : string

Description描述

This function returns the value of an instance (nonstatic) field of an object.

这个函数返回一个对象实例(非静态)域的值。

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

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

参见: Java Native Interface Specification (Oracle)


,