AndroidJNI.NewObject Manual     Reference     Scripting  
Scripting > Runtime Classes > AndroidJNI
AndroidJNI.NewObject

static function NewObject (clazz : IntPtr, methodID : IntPtr, args : jvalue[]) : IntPtr

Description

Constructs a new Java object. The method ID indicates which constructor method to invoke. This ID must be obtained by calling GetMethodID() with as the method name and void (V) as the return type.

See Also: Java Native Interface Specification (Oracle)