Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


NewObjectA(nint, nint, jvalue*)

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.
Read time 1 minuteLast updated 2 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AndroidJNIModule

NewObjectA(IntPtr, IntPtr, jvalue*)

public static nint NewObjectA(nint clazz, nint methodID, jvalue* args)

Parameters

clazz


methodID


args

jvalue*

Returns

Type

Description

IntPtr

Remarks