Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

AndroidJNI.NewObject

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.

Did you find this page useful? Please give it a rating: