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

static function SetLongField(obj: IntPtr, fieldID: IntPtr, val: long): void;
static void SetLongField(IntPtr obj, IntPtr fieldID, long val);
static def SetLongField(obj as IntPtr, fieldID as IntPtr, val as long) as void

Description

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