UnityEngine.AndroidJNISafe.CallObjectMethod C# (CSharp) 메소드

CallObjectMethod() 공개 정적인 메소드

public static CallObjectMethod ( IntPtr obj, IntPtr methodID, jvalue args ) : IntPtr
obj System.IntPtr
methodID System.IntPtr
args jvalue
리턴 System.IntPtr
        public static IntPtr CallObjectMethod(IntPtr obj, IntPtr methodID, jvalue[] args)
        {
            IntPtr ptr;
            try
            {
                ptr = AndroidJNI.CallObjectMethod(obj, methodID, args);
            }
            finally
            {
                CheckException();
            }
            return ptr;
        }

Usage Example

예제 #1
0
 public static IntPtr GetFieldClass(IntPtr field)
 {
     return(AndroidJNISafe.CallObjectMethod(field, AndroidReflection.s_FieldGetDeclaringClass, null));
 }
All Usage Examples Of UnityEngine.AndroidJNISafe::CallObjectMethod
AndroidJNISafe