Example #1
0
 static void n_Fetch_Lcom_facebook_imagepipeline_backends_okhttp3_OkHttpNetworkFetcher_OkHttpNetworkFetchState_Lcom_facebook_imagepipeline_producers_NetworkFetcher_Callback_(IntPtr jnienv, IntPtr native__this, IntPtr native_fetchState, IntPtr native__callback)
 {
     global::Com.Facebook.Imagepipeline.Backends.Okhttp3.OkHttpNetworkFetcher __this = global::Java.Lang.Object.GetObject <global::Com.Facebook.Imagepipeline.Backends.Okhttp3.OkHttpNetworkFetcher> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Facebook.Imagepipeline.Backends.Okhttp3.OkHttpNetworkFetcher.OkHttpNetworkFetchState fetchState = global::Java.Lang.Object.GetObject <global::Com.Facebook.Imagepipeline.Backends.Okhttp3.OkHttpNetworkFetcher.OkHttpNetworkFetchState> (native_fetchState, JniHandleOwnership.DoNotTransfer);
     global::Com.Facebook.Imagepipeline.Producers.INetworkFetcherCallback @callback = (global::Com.Facebook.Imagepipeline.Producers.INetworkFetcherCallback)global::Java.Lang.Object.GetObject <global::Com.Facebook.Imagepipeline.Producers.INetworkFetcherCallback> (native__callback, JniHandleOwnership.DoNotTransfer);
     __this.Fetch(fetchState, @callback);
 }
Example #2
0
 public virtual void Fetch(global::Java.Lang.Object p0, global::Com.Facebook.Imagepipeline.Producers.INetworkFetcherCallback p1)
 {
 }
        public unsafe void RawFetch(global::Com.Facebook.Imagepipeline.Producers.FetchState fetchState, global::Com.Facebook.Imagepipeline.Producers.INetworkFetcherCallback @callback)
        {
            const string __id = "fetch.(Lcom/facebook/imagepipeline/producers/FetchState;Lcom/facebook/imagepipeline/producers/NetworkFetcher$Callback;)V";

            try
            {
                JniArgumentValue *__args = stackalloc JniArgumentValue[2];
                __args[0] = new JniArgumentValue((fetchState == null) ? IntPtr.Zero : ((global::Java.Lang.Object)fetchState).Handle);
                __args[1] = new JniArgumentValue((@callback == null) ? IntPtr.Zero : ((global::Java.Lang.Object)@callback).Handle);
                _members.InstanceMethods.InvokeVirtualVoidMethod(__id, this, __args);
            }
            finally
            {
            }
        }
Example #4
0
        protected virtual unsafe void FetchWithRequest(global::Com.Facebook.Imagepipeline.Backends.Okhttp3.OkHttpNetworkFetcher.OkHttpNetworkFetchState fetchState, global::Com.Facebook.Imagepipeline.Producers.INetworkFetcherCallback @callback, global::Okhttp3.Request request)
        {
            const string __id = "fetchWithRequest.(Lcom/facebook/imagepipeline/backends/okhttp3/OkHttpNetworkFetcher$OkHttpNetworkFetchState;Lcom/facebook/imagepipeline/producers/NetworkFetcher$Callback;Lokhttp3/Request;)V";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [3];
                __args [0] = new JniArgumentValue((fetchState == null) ? IntPtr.Zero : ((global::Java.Lang.Object)fetchState).Handle);
                __args [1] = new JniArgumentValue((@callback == null) ? IntPtr.Zero : ((global::Java.Lang.Object)@callback).Handle);
                __args [2] = new JniArgumentValue((request == null) ? IntPtr.Zero : ((global::Java.Lang.Object)request).Handle);
                _members.InstanceMethods.InvokeVirtualVoidMethod(__id, this, __args);
            } finally {
            }
        }