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

static function SetStaticShortField(clazz: IntPtr, fieldID: IntPtr, val: short): void;
static void SetStaticShortField(IntPtr clazz, IntPtr fieldID, short val);
static def SetStaticShortField(clazz as IntPtr, fieldID as IntPtr, val as short) as void

Description

This function ets the value of a static field of an object.