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

static function NewObjectArray(size: int, clazz: IntPtr, obj: IntPtr): IntPtr;
static IntPtr NewObjectArray(int size, IntPtr clazz, IntPtr obj);
static def NewObjectArray(size as int, clazz as IntPtr, obj as IntPtr) as IntPtr

Description

Constructs a new array holding objects in class clazz. All elements are initially set to obj.