androidjni.setobject" target="_blank" class="relatedlink">objectfield 设置对象域 static functionsetobjectfield(obj: intptr,fieldid: intptr,val: intptr) : void description描述 this function sets the value of an instance (nonstatic) field of an object. 这个函数设置一个对象实例(非静态)域的值。 the value to set is a reference to either a java.lang.object, or a subclass thereof. 要设置的值无论是一个java.lang.object的引用,或者其子类。 参见:java native interface specification (oracle) |