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 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); }
public unsafe NetworkDispatcher(global::Java.Util.Concurrent.IBlockingQueue p0, global::MoPub.Volley.INetwork p1, global::MoPub.Volley.ICache p2, global::MoPub.Volley.IResponseDelivery 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(p0); __args [1] = new JValue(p1); __args [2] = new JValue(p2); __args [3] = new JValue(p3); if (((object)this).GetType() != typeof(NetworkDispatcher)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Ljava/util/concurrent/BlockingQueue;Lcom/mopub/volley/Network;Lcom/mopub/volley/Cache;Lcom/mopub/volley/ResponseDelivery;)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Ljava/util/concurrent/BlockingQueue;Lcom/mopub/volley/Network;Lcom/mopub/volley/Cache;Lcom/mopub/volley/ResponseDelivery;)V", __args); return; } if (id_ctor_Ljava_util_concurrent_BlockingQueue_Lcom_mopub_volley_Network_Lcom_mopub_volley_Cache_Lcom_mopub_volley_ResponseDelivery_ == IntPtr.Zero) { id_ctor_Ljava_util_concurrent_BlockingQueue_Lcom_mopub_volley_Network_Lcom_mopub_volley_Cache_Lcom_mopub_volley_ResponseDelivery_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Ljava/util/concurrent/BlockingQueue;Lcom/mopub/volley/Network;Lcom/mopub/volley/Cache;Lcom/mopub/volley/ResponseDelivery;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Ljava_util_concurrent_BlockingQueue_Lcom_mopub_volley_Network_Lcom_mopub_volley_Cache_Lcom_mopub_volley_ResponseDelivery_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Ljava_util_concurrent_BlockingQueue_Lcom_mopub_volley_Network_Lcom_mopub_volley_Cache_Lcom_mopub_volley_ResponseDelivery_, __args); } finally { } }