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

static function AllocObject(clazz: IntPtr): IntPtr;
static IntPtr AllocObject(IntPtr clazz);
static def AllocObject(clazz as IntPtr) as IntPtr

Description

Allocates a new Java object without invoking any of the constructors for the object.