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

static function SetFloatField(obj: IntPtr, fieldID: IntPtr, val: float): void;
static void SetFloatField(IntPtr obj, IntPtr fieldID, float val);
static def SetFloatField(obj as IntPtr, fieldID as IntPtr, val as float) as void

Description

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