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.SetShortField

static function SetShortField(obj: IntPtr, fieldID: IntPtr, val: short): void;
static void SetShortField(IntPtr obj, IntPtr fieldID, short val);
static def SetShortField(obj as IntPtr, fieldID as IntPtr, val as short) as void

Description

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