public unsafe RequestQueue(global::MoPub.Volley.ICache p0, global::MoPub.Volley.INetwork p1, int 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(RequestQueue))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Lcom/mopub/volley/Cache;Lcom/mopub/volley/Network;ILcom/mopub/volley/ResponseDelivery;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Lcom/mopub/volley/Cache;Lcom/mopub/volley/Network;ILcom/mopub/volley/ResponseDelivery;)V", __args);
                    return;
                }

                if (id_ctor_Lcom_mopub_volley_Cache_Lcom_mopub_volley_Network_ILcom_mopub_volley_ResponseDelivery_ == IntPtr.Zero)
                {
                    id_ctor_Lcom_mopub_volley_Cache_Lcom_mopub_volley_Network_ILcom_mopub_volley_ResponseDelivery_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/mopub/volley/Cache;Lcom/mopub/volley/Network;ILcom/mopub/volley/ResponseDelivery;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_mopub_volley_Cache_Lcom_mopub_volley_Network_ILcom_mopub_volley_ResponseDelivery_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Lcom_mopub_volley_Cache_Lcom_mopub_volley_Network_ILcom_mopub_volley_ResponseDelivery_, __args);
            } finally {
            }
        }
示例#2
0
        static void n_Remove_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::MoPub.Volley.ICache __this = global::Java.Lang.Object.GetObject <global::MoPub.Volley.ICache> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer);

            __this.Remove(p0);
        }
示例#3
0
        static void n_Put_Ljava_lang_String_Lcom_mopub_volley_Cache_Entry_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
        {
            global::MoPub.Volley.ICache __this = global::Java.Lang.Object.GetObject <global::MoPub.Volley.ICache> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer);

            global::MoPub.Volley.CacheEntry p1 = global::Java.Lang.Object.GetObject <global::MoPub.Volley.CacheEntry> (native_p1, JniHandleOwnership.DoNotTransfer);
            __this.Put(p0, p1);
        }
示例#4
0
        static IntPtr n_Get_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::MoPub.Volley.ICache __this = global::Java.Lang.Object.GetObject <global::MoPub.Volley.ICache> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string p0    = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.Get(p0));

            return(__ret);
        }
示例#5
0
 static void n_Initialize(IntPtr jnienv, IntPtr native__this)
 {
     global::MoPub.Volley.ICache __this = global::Java.Lang.Object.GetObject <global::MoPub.Volley.ICache> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.Initialize();
 }