Esempio n. 1
0
        public virtual unsafe void RemoveFrameCallback(global::Com.Facebook.Rebound.ChoreographerCompat.FrameCallback p0)
        {
            if (id_removeFrameCallback_Lcom_facebook_rebound_ChoreographerCompat_FrameCallback_ == IntPtr.Zero)
            {
                id_removeFrameCallback_Lcom_facebook_rebound_ChoreographerCompat_FrameCallback_ = JNIEnv.GetMethodID(class_ref, "removeFrameCallback", "(Lcom/facebook/rebound/ChoreographerCompat$FrameCallback;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_removeFrameCallback_Lcom_facebook_rebound_ChoreographerCompat_FrameCallback_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "removeFrameCallback", "(Lcom/facebook/rebound/ChoreographerCompat$FrameCallback;)V"), __args);
                }
            } finally {
            }
        }
Esempio n. 2
0
 static void n_DoFrame_J(IntPtr jnienv, IntPtr native__this, long p0)
 {
     global::Com.Facebook.Rebound.ChoreographerCompat.FrameCallback __this = global::Java.Lang.Object.GetObject <global::Com.Facebook.Rebound.ChoreographerCompat.FrameCallback> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.DoFrame(p0);
 }
Esempio n. 3
0
 static void n_RemoveFrameCallback_Lcom_facebook_rebound_ChoreographerCompat_FrameCallback_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Facebook.Rebound.ChoreographerCompat __this           = global::Java.Lang.Object.GetObject <global::Com.Facebook.Rebound.ChoreographerCompat> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Facebook.Rebound.ChoreographerCompat.FrameCallback p0 = global::Java.Lang.Object.GetObject <global::Com.Facebook.Rebound.ChoreographerCompat.FrameCallback> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.RemoveFrameCallback(p0);
 }