Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

AndroidJNI.SetObjectField

public static void SetObjectField(IntPtr obj, IntPtr fieldID, IntPtr val);

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.

See Also: Java Native Interface Specification (Oracle)

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答