static void n_MakeRequest_Lcom_mopub_nativeads_RequestParameters_Ljava_lang_Integer_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1) { global::Com.Mopub.Nativeads.MoPubNative __this = global::Java.Lang.Object.GetObject <global::Com.Mopub.Nativeads.MoPubNative> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Mopub.Nativeads.RequestParameters p0 = global::Java.Lang.Object.GetObject <global::Com.Mopub.Nativeads.RequestParameters> (native_p0, JniHandleOwnership.DoNotTransfer); global::Java.Lang.Integer p1 = global::Java.Lang.Object.GetObject <global::Java.Lang.Integer> (native_p1, JniHandleOwnership.DoNotTransfer); __this.MakeRequest(p0, p1); }
public virtual unsafe void MakeRequest(global::Com.Mopub.Nativeads.RequestParameters p0) { if (id_makeRequest_Lcom_mopub_nativeads_RequestParameters_ == IntPtr.Zero) { id_makeRequest_Lcom_mopub_nativeads_RequestParameters_ = JNIEnv.GetMethodID(class_ref, "makeRequest", "(Lcom/mopub/nativeads/RequestParameters;)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_makeRequest_Lcom_mopub_nativeads_RequestParameters_, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "makeRequest", "(Lcom/mopub/nativeads/RequestParameters;)V"), __args); } } finally { } }