static void n_Init_Lcom_mopub_mobileads_CustomEventInterstitial_CustomEventInterstitialListener_ZLjava_lang_String_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, bool p1, IntPtr native_p2, IntPtr native_p3) { global::com.mopub.mobileads.HtmlInterstitialWebView __this = global::Java.Lang.Object.GetObject <global::com.mopub.mobileads.HtmlInterstitialWebView> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::com.mopub.mobileads.CustomEventInterstitial.ICustomEventInterstitialListener p0 = (global::com.mopub.mobileads.CustomEventInterstitial.ICustomEventInterstitialListener)global::Java.Lang.Object.GetObject <global::com.mopub.mobileads.CustomEventInterstitial.ICustomEventInterstitialListener> (native_p0, JniHandleOwnership.DoNotTransfer); string p2 = JNIEnv.GetString(native_p2, JniHandleOwnership.DoNotTransfer); string p3 = JNIEnv.GetString(native_p3, JniHandleOwnership.DoNotTransfer); __this.Init(p0, p1, p2, p3); }
public static unsafe global::com.mopub.mobileads.HtmlInterstitialWebView Create(global::Android.Content.Context p0, global::com.mopub.common.AdReport p1, global::com.mopub.mobileads.CustomEventInterstitial.ICustomEventInterstitialListener p2, bool p3, string p4, string p5) { if (id_create_Landroid_content_Context_Lcom_mopub_common_AdReport_Lcom_mopub_mobileads_CustomEventInterstitial_CustomEventInterstitialListener_ZLjava_lang_String_Ljava_lang_String_ == IntPtr.Zero) { id_create_Landroid_content_Context_Lcom_mopub_common_AdReport_Lcom_mopub_mobileads_CustomEventInterstitial_CustomEventInterstitialListener_ZLjava_lang_String_Ljava_lang_String_ = JNIEnv.GetStaticMethodID(class_ref, "create", "(Landroid/content/Context;Lcom/mopub/common/AdReport;Lcom/mopub/mobileads/CustomEventInterstitial$CustomEventInterstitialListener;ZLjava/lang/String;Ljava/lang/String;)Lcom/mopub/mobileads/HtmlInterstitialWebView;"); } IntPtr native_p4 = JNIEnv.NewString(p4); IntPtr native_p5 = JNIEnv.NewString(p5); try { JValue *__args = stackalloc JValue [6]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); __args [2] = new JValue(p2); __args [3] = new JValue(p3); __args [4] = new JValue(native_p4); __args [5] = new JValue(native_p5); global::com.mopub.mobileads.HtmlInterstitialWebView __ret = global::Java.Lang.Object.GetObject <global::com.mopub.mobileads.HtmlInterstitialWebView> (JNIEnv.CallStaticObjectMethod(class_ref, id_create_Landroid_content_Context_Lcom_mopub_common_AdReport_Lcom_mopub_mobileads_CustomEventInterstitial_CustomEventInterstitialListener_ZLjava_lang_String_Ljava_lang_String_, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { JNIEnv.DeleteLocalRef(native_p4); JNIEnv.DeleteLocalRef(native_p5); } }