Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

AndroidJNI.GetObjectField

Declaration

public static IntPtr GetObjectField(IntPtr obj, IntPtr fieldID);

Description

Returns the value of an instance (nonstatic) field of an object.

The result is a reference to a java.lang.Object, or a subclass thereof.

Additional resources: Java Native Interface Specification (Oracle)