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

static function SetBooleanField(obj: IntPtr, fieldID: IntPtr, val: bool): void;
static void SetBooleanField(IntPtr obj, IntPtr fieldID, bool val);
static def SetBooleanField(obj as IntPtr, fieldID as IntPtr, val as bool) as void

Description

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