ドキュメント

Unity Engine

Download Unity

Unity Engine

ToReflectedMethod(nint, nint, bool)

Converts a method ID derived from clazz to a \<tt\>java.lang.reflect.Method\</tt\> or \<tt\>java.lang.reflect.Constructor\</tt\> object.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

ToReflectedMethod(IntPtr, IntPtr, bool)

public static nint ToReflectedMethod(nint clazz, nint methodID, bool isStatic)

Parameters

clazz

The Java class that declares the method.

methodID

The ID of the method to convert.

isStatic

Set to true for a static method. Set to false for an instance (nonstatic) method.

Returns

Type

Description

IntPtrA local reference to the corresponding java.lang.reflect.Method or java.lang.reflect.Constructor object.

Remarks