This version of Unity is unsupported.

AndroidJavaObject Constructor

Declaration

public AndroidJavaObject(string className, params object[] args);

Parameters

className Specifies the Java class name (e.g. "java.lang.String" or "java/lang/String").
args An array of parameters passed to the constructor.

Description

Construct an AndroidJavaObject based on the name of the class.

This essentially means locate the class type, allocate an object and run the specified constructor.