AndroidJNI.SetStaticObjectField 设置静态对象域


static function SetStaticObjectField (clazz : IntPtr, fieldID : IntPtr, val : IntPtr) : void

Description描述

This function ets the value of a static 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)


,