Version: 2023.1
언어: 한국어
public void Call (string methodName, params object[] args);
public void Call (string methodName, T[] args);

파라미터

methodName Specifies which method to call.
args An array of parameters passed to the method.

설명

Calls a Java method on an object (non-static).

To call a method with return type 'void', use the regular version.


public ReturnType Call (string methodName, params object[] args);
public ReturnType Call (string methodName, T[] args);

파라미터

methodName Specifies which method to call.
args An array of parameters passed to the method.

설명

Call a Java method on an object.

To call a Java method with a non-void return type, use the generic version.


public void Call (IntPtr methodID, params object[] args);
public void Call (IntPtr methodID, T[] args);

파라미터

args An array of parameters passed to the method.
methodID The ID of the method to call.

설명

Calls a Java method on an object (non-static).

To call a method with return type 'void', use the regular version.


public ReturnType Call (IntPtr methodID, params object[] args);
public ReturnType Call (IntPtr methodID, T[] args);

파라미터

args An array of parameters passed to the method.
methodID The ID of the method to call.

설명

Calls a Java method on an object (non-static).

To call a Java method with a non-void return type, use the generic version.