static IntPtr n_CreateFetchState_Lcom_facebook_imagepipeline_producers_Consumer_Lcom_facebook_imagepipeline_producers_ProducerContext_(IntPtr jnienv, IntPtr native__this, IntPtr native_consumer, IntPtr native_context) { 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.Producers.IConsumer consumer = (global::Com.Facebook.Imagepipeline.Producers.IConsumer)global::Java.Lang.Object.GetObject <global::Com.Facebook.Imagepipeline.Producers.IConsumer> (native_consumer, JniHandleOwnership.DoNotTransfer); global::Com.Facebook.Imagepipeline.Producers.IProducerContext context = (global::Com.Facebook.Imagepipeline.Producers.IProducerContext)global::Java.Lang.Object.GetObject <global::Com.Facebook.Imagepipeline.Producers.IProducerContext> (native_context, JniHandleOwnership.DoNotTransfer); IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.CreateFetchState(consumer, context)); return(__ret); }
public unsafe OkHttpNetworkFetchState(global::Com.Facebook.Imagepipeline.Producers.IConsumer consumer, global::Com.Facebook.Imagepipeline.Producers.IProducerContext producerContext) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { const string __id = "(Lcom/facebook/imagepipeline/producers/Consumer;Lcom/facebook/imagepipeline/producers/ProducerContext;)V"; if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) { return; } try { JniArgumentValue *__args = stackalloc JniArgumentValue [2]; __args [0] = new JniArgumentValue((consumer == null) ? IntPtr.Zero : ((global::Java.Lang.Object)consumer).Handle); __args [1] = new JniArgumentValue((producerContext == null) ? IntPtr.Zero : ((global::Java.Lang.Object)producerContext).Handle); var __r = _members.InstanceMethods.StartCreateInstance(__id, ((object)this).GetType(), __args); SetHandle(__r.Handle, JniHandleOwnership.TransferLocalRef); _members.InstanceMethods.FinishCreateInstance(__id, this, __args); } finally { } }
public virtual global::Java.Lang.Object CreateFetchState(global::Com.Facebook.Imagepipeline.Producers.IConsumer p0, global::Com.Facebook.Imagepipeline.Producers.IProducerContext p1) { return(null); }
public unsafe global::Com.Facebook.Imagepipeline.Producers.FetchState RawCreateFetchState(global::Com.Facebook.Imagepipeline.Producers.IConsumer consumer, global::Com.Facebook.Imagepipeline.Producers.IProducerContext context) { const string __id = "createFetchState.(Lcom/facebook/imagepipeline/producers/Consumer;Lcom/facebook/imagepipeline/producers/ProducerContext;)Lcom/facebook/imagepipeline/producers/FetchState;"; try { JniArgumentValue *__args = stackalloc JniArgumentValue[2]; __args[0] = new JniArgumentValue((consumer == null) ? IntPtr.Zero : ((global::Java.Lang.Object)consumer).Handle); __args[1] = new JniArgumentValue((context == null) ? IntPtr.Zero : ((global::Java.Lang.Object)context).Handle); var __rm = _members.InstanceMethods.InvokeVirtualObjectMethod(__id, this, __args); return(global::Java.Lang.Object.GetObject <global::Com.Facebook.Imagepipeline.Producers.FetchState>(__rm.Handle, JniHandleOwnership.TransferLocalRef)); } finally { } }