static void n_PostError_Lcom_mopub_volley_Request_Lcom_mopub_volley_VolleyError_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
 {
     global::MoPub.Volley.IResponseDelivery __this = global::Java.Lang.Object.GetObject <global::MoPub.Volley.IResponseDelivery> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::MoPub.Volley.Request           p0     = global::Java.Lang.Object.GetObject <global::MoPub.Volley.Request> (native_p0, JniHandleOwnership.DoNotTransfer);
     global::MoPub.Volley.VolleyError       p1     = global::Java.Lang.Object.GetObject <global::MoPub.Volley.VolleyError> (native_p1, JniHandleOwnership.DoNotTransfer);
     __this.PostError(p0, p1);
 }
        static IntPtr n_PerformRequest_Lcom_mopub_volley_Request_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::MoPub.Volley.INetwork __this = global::Java.Lang.Object.GetObject <global::MoPub.Volley.INetwork> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::MoPub.Volley.Request  p0     = global::Java.Lang.Object.GetObject <global::MoPub.Volley.Request> (native_p0, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.PerformRequest(p0));

            return(__ret);
        }
 static void n_PostResponse_Lcom_mopub_volley_Request_Lcom_mopub_volley_Response_Ljava_lang_Runnable_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, IntPtr native_p2)
 {
     global::MoPub.Volley.IResponseDelivery __this = global::Java.Lang.Object.GetObject <global::MoPub.Volley.IResponseDelivery> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::MoPub.Volley.Request           p0     = global::Java.Lang.Object.GetObject <global::MoPub.Volley.Request> (native_p0, JniHandleOwnership.DoNotTransfer);
     global::MoPub.Volley.Response          p1     = global::Java.Lang.Object.GetObject <global::MoPub.Volley.Response> (native_p1, JniHandleOwnership.DoNotTransfer);
     global::Java.Lang.IRunnable            p2     = (global::Java.Lang.IRunnable)global::Java.Lang.Object.GetObject <global::Java.Lang.IRunnable> (native_p2, JniHandleOwnership.DoNotTransfer);
     __this.PostResponse(p0, p1, p2);
 }
            static bool n_Apply_Lcom_mopub_volley_Request_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
            {
                global::MoPub.Volley.RequestQueue.IRequestFilter __this = global::Java.Lang.Object.GetObject <global::MoPub.Volley.RequestQueue.IRequestFilter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
                global::MoPub.Volley.Request p0 = global::Java.Lang.Object.GetObject <global::MoPub.Volley.Request> (native_p0, JniHandleOwnership.DoNotTransfer);
                bool __ret = __this.Apply(p0);

                return(__ret);
            }
        public unsafe global::MoPub.Volley.NetworkResponse PerformRequest(global::MoPub.Volley.Request p0)
        {
            if (id_performRequest_Lcom_mopub_volley_Request_ == IntPtr.Zero)
            {
                id_performRequest_Lcom_mopub_volley_Request_ = JNIEnv.GetMethodID(class_ref, "performRequest", "(Lcom/mopub/volley/Request;)Lcom/mopub/volley/NetworkResponse;");
            }
            JValue *__args = stackalloc JValue [1];

            __args [0] = new JValue(p0);
            global::MoPub.Volley.NetworkResponse __ret = global::Java.Lang.Object.GetObject <global::MoPub.Volley.NetworkResponse> (JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_performRequest_Lcom_mopub_volley_Request_, __args), JniHandleOwnership.TransferLocalRef);
            return(__ret);
        }
        public unsafe void PostError(global::MoPub.Volley.Request p0, global::MoPub.Volley.VolleyError p1)
        {
            if (id_postError_Lcom_mopub_volley_Request_Lcom_mopub_volley_VolleyError_ == IntPtr.Zero)
            {
                id_postError_Lcom_mopub_volley_Request_Lcom_mopub_volley_VolleyError_ = JNIEnv.GetMethodID(class_ref, "postError", "(Lcom/mopub/volley/Request;Lcom/mopub/volley/VolleyError;)V");
            }
            JValue *__args = stackalloc JValue [2];

            __args [0] = new JValue(p0);
            __args [1] = new JValue(p1);
            JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_postError_Lcom_mopub_volley_Request_Lcom_mopub_volley_VolleyError_, __args);
        }
        public unsafe void PostResponse(global::MoPub.Volley.Request p0, global::MoPub.Volley.Response p1, global::Java.Lang.IRunnable p2)
        {
            if (id_postResponse_Lcom_mopub_volley_Request_Lcom_mopub_volley_Response_Ljava_lang_Runnable_ == IntPtr.Zero)
            {
                id_postResponse_Lcom_mopub_volley_Request_Lcom_mopub_volley_Response_Ljava_lang_Runnable_ = JNIEnv.GetMethodID(class_ref, "postResponse", "(Lcom/mopub/volley/Request;Lcom/mopub/volley/Response;Ljava/lang/Runnable;)V");
            }
            JValue *__args = stackalloc JValue [3];

            __args [0] = new JValue(p0);
            __args [1] = new JValue(p1);
            __args [2] = new JValue(p2);
            JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_postResponse_Lcom_mopub_volley_Request_Lcom_mopub_volley_Response_Ljava_lang_Runnable_, __args);
        }
            public unsafe bool Apply(global::MoPub.Volley.Request p0)
            {
                if (id_apply_Lcom_mopub_volley_Request_ == IntPtr.Zero)
                {
                    id_apply_Lcom_mopub_volley_Request_ = JNIEnv.GetMethodID(class_ref, "apply", "(Lcom/mopub/volley/Request;)Z");
                }
                JValue *__args = stackalloc JValue [1];

                __args [0] = new JValue(p0);
                bool __ret = JNIEnv.CallBooleanMethod(((global::Java.Lang.Object) this).Handle, id_apply_Lcom_mopub_volley_Request_, __args);

                return(__ret);
            }
        public virtual unsafe void PostResponse(global::MoPub.Volley.Request p0, global::MoPub.Volley.Response p1)
        {
            if (id_postResponse_Lcom_mopub_volley_Request_Lcom_mopub_volley_Response_ == IntPtr.Zero)
            {
                id_postResponse_Lcom_mopub_volley_Request_Lcom_mopub_volley_Response_ = JNIEnv.GetMethodID(class_ref, "postResponse", "(Lcom/mopub/volley/Request;Lcom/mopub/volley/Response;)V");
            }
            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);

                if (((object)this).GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_postResponse_Lcom_mopub_volley_Request_Lcom_mopub_volley_Response_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "postResponse", "(Lcom/mopub/volley/Request;Lcom/mopub/volley/Response;)V"), __args);
                }
            } finally {
            }
        }
        public virtual unsafe global::MoPub.Volley.Request Add(global::MoPub.Volley.Request p0)
        {
            if (id_add_Lcom_mopub_volley_Request_ == IntPtr.Zero)
            {
                id_add_Lcom_mopub_volley_Request_ = JNIEnv.GetMethodID(class_ref, "add", "(Lcom/mopub/volley/Request;)Lcom/mopub/volley/Request;");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                global::MoPub.Volley.Request __ret;
                if (((object)this).GetType() == ThresholdType)
                {
                    __ret = global::Java.Lang.Object.GetObject <global::MoPub.Volley.Request> (JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_add_Lcom_mopub_volley_Request_, __args), JniHandleOwnership.TransferLocalRef);
                }
                else
                {
                    __ret = global::Java.Lang.Object.GetObject <global::MoPub.Volley.Request> (JNIEnv.CallNonvirtualObjectMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "add", "(Lcom/mopub/volley/Request;)Lcom/mopub/volley/Request;"), __args), JniHandleOwnership.TransferLocalRef);
                }
                return(__ret);
            } finally {
            }
        }
            public unsafe ResponseDeliveryRunnable(global::MoPub.Volley.ExecutorDelivery __self, global::MoPub.Volley.Request p1, global::MoPub.Volley.Response p2, global::Java.Lang.IRunnable p3)
                : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
            {
                if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
                {
                    return;
                }

                try {
                    JValue *__args = stackalloc JValue [4];
                    __args [0] = new JValue(__self);
                    __args [1] = new JValue(p1);
                    __args [2] = new JValue(p2);
                    __args [3] = new JValue(p3);
                    if (((object)this).GetType() != typeof(ResponseDeliveryRunnable))
                    {
                        SetHandle(
                            global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(L" + global::Android.Runtime.JNIEnv.GetJniName(GetType().DeclaringType) + ";Lcom/mopub/volley/Request;Lcom/mopub/volley/Response;Ljava/lang/Runnable;)V", __args),
                            JniHandleOwnership.TransferLocalRef);
                        global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(L" + global::Android.Runtime.JNIEnv.GetJniName(GetType().DeclaringType) + ";Lcom/mopub/volley/Request;Lcom/mopub/volley/Response;Ljava/lang/Runnable;)V", __args);
                        return;
                    }

                    if (id_ctor_Lcom_mopub_volley_ExecutorDelivery_Lcom_mopub_volley_Request_Lcom_mopub_volley_Response_Ljava_lang_Runnable_ == IntPtr.Zero)
                    {
                        id_ctor_Lcom_mopub_volley_ExecutorDelivery_Lcom_mopub_volley_Request_Lcom_mopub_volley_Response_Ljava_lang_Runnable_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/mopub/volley/ExecutorDelivery;Lcom/mopub/volley/Request;Lcom/mopub/volley/Response;Ljava/lang/Runnable;)V");
                    }
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_mopub_volley_ExecutorDelivery_Lcom_mopub_volley_Request_Lcom_mopub_volley_Response_Ljava_lang_Runnable_, __args),
                        JniHandleOwnership.TransferLocalRef);
                    JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Lcom_mopub_volley_ExecutorDelivery_Lcom_mopub_volley_Request_Lcom_mopub_volley_Response_Ljava_lang_Runnable_, __args);
                } finally {
                }
            }