public virtual unsafe void RemoveCallback(global::Com.Facebook.Rebound.AnimationQueue.ICallback p0)
        {
            if (id_removeCallback_Lcom_facebook_rebound_AnimationQueue_Callback_ == IntPtr.Zero)
            {
                id_removeCallback_Lcom_facebook_rebound_AnimationQueue_Callback_ = JNIEnv.GetMethodID(class_ref, "removeCallback", "(Lcom/facebook/rebound/AnimationQueue$Callback;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_removeCallback_Lcom_facebook_rebound_AnimationQueue_Callback_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "removeCallback", "(Lcom/facebook/rebound/AnimationQueue$Callback;)V"), __args);
                }
            } finally {
            }
        }
 static void n_OnFrame_Ljava_lang_Double_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Facebook.Rebound.AnimationQueue.ICallback __this = global::Java.Lang.Object.GetObject <global::Com.Facebook.Rebound.AnimationQueue.ICallback> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Java.Lang.Double p0 = global::Java.Lang.Object.GetObject <global::Java.Lang.Double> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.OnFrame(p0);
 }
 static void n_RemoveCallback_Lcom_facebook_rebound_AnimationQueue_Callback_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Facebook.Rebound.AnimationQueue           __this = global::Java.Lang.Object.GetObject <global::Com.Facebook.Rebound.AnimationQueue> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Facebook.Rebound.AnimationQueue.ICallback p0     = (global::Com.Facebook.Rebound.AnimationQueue.ICallback)global::Java.Lang.Object.GetObject <global::Com.Facebook.Rebound.AnimationQueue.ICallback> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.RemoveCallback(p0);
 }