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);
 }
コード例 #2
0
#pragma warning restore 0649

            public void OnErrorResponse(global::MoPub.Volley.VolleyError p0)
            {
                var __h = Handler;

                if (__h != null)
                {
                    __h(sender, new ErrorEventArgs(p0));
                }
            }
        public unsafe void Retry(global::MoPub.Volley.VolleyError p0)
        {
            if (id_retry_Lcom_mopub_volley_VolleyError_ == IntPtr.Zero)
            {
                id_retry_Lcom_mopub_volley_VolleyError_ = JNIEnv.GetMethodID(class_ref, "retry", "(Lcom/mopub/volley/VolleyError;)V");
            }
            JValue *__args = stackalloc JValue [1];

            __args [0] = new JValue(p0);
            JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_retry_Lcom_mopub_volley_VolleyError_, __args);
        }
        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);
        }
コード例 #5
0
 public static unsafe global::MoPub.Volley.Response Error(global::MoPub.Volley.VolleyError p0)
 {
     if (id_error_Lcom_mopub_volley_VolleyError_ == IntPtr.Zero)
     {
         id_error_Lcom_mopub_volley_VolleyError_ = JNIEnv.GetStaticMethodID(class_ref, "error", "(Lcom/mopub/volley/VolleyError;)Lcom/mopub/volley/Response;");
     }
     try {
         JValue *__args = stackalloc JValue [1];
         __args [0] = new JValue(p0);
         global::MoPub.Volley.Response __ret = global::Java.Lang.Object.GetObject <global::MoPub.Volley.Response> (JNIEnv.CallStaticObjectMethod(class_ref, id_error_Lcom_mopub_volley_VolleyError_, __args), JniHandleOwnership.TransferLocalRef);
         return(__ret);
     } finally {
     }
 }
            public virtual unsafe void OnErrorResponse(global::MoPub.Volley.VolleyError p0)
            {
                if (id_onErrorResponse_Lcom_mopub_volley_VolleyError_ == IntPtr.Zero)
                {
                    id_onErrorResponse_Lcom_mopub_volley_VolleyError_ = JNIEnv.GetMethodID(class_ref, "onErrorResponse", "(Lcom/mopub/volley/VolleyError;)V");
                }
                try {
                    JValue *__args = stackalloc JValue [1];
                    __args [0] = new JValue(p0);

                    if (((object)this).GetType() == ThresholdType)
                    {
                        JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onErrorResponse_Lcom_mopub_volley_VolleyError_, __args);
                    }
                    else
                    {
                        JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "onErrorResponse", "(Lcom/mopub/volley/VolleyError;)V"), __args);
                    }
                } finally {
                }
            }
        public virtual 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");
            }
            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_postError_Lcom_mopub_volley_Request_Lcom_mopub_volley_VolleyError_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "postError", "(Lcom/mopub/volley/Request;Lcom/mopub/volley/VolleyError;)V"), __args);
                }
            } finally {
            }
        }
 static void n_OnErrorResponse_Lcom_mopub_volley_VolleyError_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::com.mopub.mobileads.MoPubRewardedVideoManager.RewardedVideoRequestListener __this = global::Java.Lang.Object.GetObject <global::com.mopub.mobileads.MoPubRewardedVideoManager.RewardedVideoRequestListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::MoPub.Volley.VolleyError p0 = global::Java.Lang.Object.GetObject <global::MoPub.Volley.VolleyError> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.OnErrorResponse(p0);
 }
コード例 #9
0
 static void n_Retry_Lcom_mopub_volley_VolleyError_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::MoPub.Volley.DefaultRetryPolicy __this = global::Java.Lang.Object.GetObject <global::MoPub.Volley.DefaultRetryPolicy> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::MoPub.Volley.VolleyError        p0     = global::Java.Lang.Object.GetObject <global::MoPub.Volley.VolleyError> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.Retry(p0);
 }
コード例 #10
0
 public ErrorEventArgs(global::MoPub.Volley.VolleyError p0)
 {
     this.p0 = p0;
 }
コード例 #11
0
 static void n_OnErrorResponse_Lcom_mopub_volley_VolleyError_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::MoPub.Volley.Response.IErrorListener __this = global::Java.Lang.Object.GetObject <global::MoPub.Volley.Response.IErrorListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::MoPub.Volley.VolleyError             p0     = global::Java.Lang.Object.GetObject <global::MoPub.Volley.VolleyError> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.OnErrorResponse(p0);
 }
 static long n_GetNetworkTimeMs(IntPtr jnienv, IntPtr native__this)
 {
     global::MoPub.Volley.VolleyError __this = global::Java.Lang.Object.GetObject <global::MoPub.Volley.VolleyError> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.NetworkTimeMs);
 }