Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

AndroidJNI.NewObject

Declaration

public static IntPtr NewObject(IntPtr clazz, IntPtr methodID, jvalue[] args);

Description

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