Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

AndroidJNI.GetShortField

static function GetShortField(obj: IntPtr, fieldID: IntPtr): short;
static short GetShortField(IntPtr obj, IntPtr fieldID);
static def GetShortField(obj as IntPtr, fieldID as IntPtr) as short

Description

This function returns the value of an instance (nonstatic) field of an object.