Version: 2022.1
言語: 日本語
public AndroidJavaObject Invoke (string methodName, object[] args);
public AndroidJavaObject Invoke (string methodName, AndroidJavaObject[] javaArgs);

パラメーター

methodName Name of the invoked java method.
args Java VM から渡された引数 - AndroidJavaObject、AndroidJavaClass、またはプリミティブに変換されたもの
javaArgs Java VM から渡される引数 - すべてのオブジェクトは AndroidJavaObject として表現され、例えば int は java.lang.Integer として表現されます。

説明

Called by the java vm whenever a method is invoked on the java proxy interface. You can override this to run special code on method invocation, or you can leave the implementation as is, and leave the default behavior which is to look for c# methods matching the signature of the java method.