androidjnihelper.getfieldid.<fieldtype> 获取域id

2014-12-31 00:54| 发布者: 杨炎| 查看: 1786| 评论: 0|原作者: 蛮牛|来自: yzc88亚洲城脚本manual

摘要: androidjnihelper.getfieldid.fieldtype> 获取域idstatic functiongetmethodid.returntype>(jclass: system.intptr,methodname: string,args: object,isstatic: bool) : system.intptrparameters参数javaclassraw jn ...

androidjnihelper.getfieldid.<fieldtype> 获取域id

static functiongetmethodid.<returntype>(jclass: system.intptr,methodname: string,args: object[],isstatic: bool) : system.intptr

parameters参数

javaclass

raw jni java class object (obtained by callingandroidjni.findclass).

原jni类对象

fieldname

name of the field as declared in java.

在java定义的域名

isstatic

set to true for static methods; false for instance (nonstatic) methods.

设置true为静态方法;false为实例(非静态)的方法。

description描述

get a jni field id based on type detection. generic parameter represents the field type.

获取一个jni域id,根据检测的类型。泛型参数表示域类型。

scans a particular java class for a field matching a signature of the field type. the signature comparison is done to allow for sub-/base-classes of the class types.

扫描一个特定的java类,用于一个域匹配一个域类型的签名。这个签名比较是为了允许类的类型的sub-/base-classes。

相关阅读

文章点评
相关文章