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

static function SetBooleanArrayElement(array: IntPtr, index: int, val: byte): void;
static void SetBooleanArrayElement(IntPtr array, int index, byte val);
static def SetBooleanArrayElement(array as IntPtr, index as int, val as byte) as void

Description

Sets the value of one element in a primitive array.

This function is a special case of SetBooleanArrayRegion(), called with region size set to 1.

See Also: Java Native Interface Specification (Oracle)