Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AndroidJNI.GetObjectField

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

Description

This function 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.

See Also: Java Native Interface Specification (Oracle)