static IntPtr n_GetResponseString(IntPtr jnienv, IntPtr native__this) { global::com.mopub.common.AdReport __this = global::Java.Lang.Object.GetObject <global::com.mopub.common.AdReport> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.NewString(__this.ResponseString)); }
public static unsafe global::com.mopub.mobileads.HtmlBannerWebView Create(global::Android.Content.Context p0, global::com.mopub.common.AdReport p1, global::com.mopub.mobileads.CustomEventBanner.ICustomEventBannerListener p2, bool p3, string p4, string p5) { if (id_create_Landroid_content_Context_Lcom_mopub_common_AdReport_Lcom_mopub_mobileads_CustomEventBanner_CustomEventBannerListener_ZLjava_lang_String_Ljava_lang_String_ == IntPtr.Zero) { id_create_Landroid_content_Context_Lcom_mopub_common_AdReport_Lcom_mopub_mobileads_CustomEventBanner_CustomEventBannerListener_ZLjava_lang_String_Ljava_lang_String_ = JNIEnv.GetStaticMethodID(class_ref, "create", "(Landroid/content/Context;Lcom/mopub/common/AdReport;Lcom/mopub/mobileads/CustomEventBanner$CustomEventBannerListener;ZLjava/lang/String;Ljava/lang/String;)Lcom/mopub/mobileads/HtmlBannerWebView;"); } 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.HtmlBannerWebView __ret = global::Java.Lang.Object.GetObject <global::com.mopub.mobileads.HtmlBannerWebView> (JNIEnv.CallStaticObjectMethod(class_ref, id_create_Landroid_content_Context_Lcom_mopub_common_AdReport_Lcom_mopub_mobileads_CustomEventBanner_CustomEventBannerListener_ZLjava_lang_String_Ljava_lang_String_, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { JNIEnv.DeleteLocalRef(native_p4); JNIEnv.DeleteLocalRef(native_p5); } }
public unsafe CustomEventBannerAdapter(global::com.mopub.mobileads.MoPubView p0, string p1, global::System.Collections.Generic.IDictionary <string, string> p2, long p3, global::com.mopub.common.AdReport p4) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) { return; } IntPtr native_p1 = JNIEnv.NewString(p1); IntPtr native_p2 = global::Android.Runtime.JavaDictionary <string, string> .ToLocalJniHandle(p2); try { JValue *__args = stackalloc JValue [5]; __args [0] = new JValue(p0); __args [1] = new JValue(native_p1); __args [2] = new JValue(native_p2); __args [3] = new JValue(p3); __args [4] = new JValue(p4); if (((object)this).GetType() != typeof(CustomEventBannerAdapter)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Lcom/mopub/mobileads/MoPubView;Ljava/lang/String;Ljava/util/Map;JLcom/mopub/common/AdReport;)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Lcom/mopub/mobileads/MoPubView;Ljava/lang/String;Ljava/util/Map;JLcom/mopub/common/AdReport;)V", __args); return; } if (id_ctor_Lcom_mopub_mobileads_MoPubView_Ljava_lang_String_Ljava_util_Map_JLcom_mopub_common_AdReport_ == IntPtr.Zero) { id_ctor_Lcom_mopub_mobileads_MoPubView_Ljava_lang_String_Ljava_util_Map_JLcom_mopub_common_AdReport_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/mopub/mobileads/MoPubView;Ljava/lang/String;Ljava/util/Map;JLcom/mopub/common/AdReport;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_mopub_mobileads_MoPubView_Ljava_lang_String_Ljava_util_Map_JLcom_mopub_common_AdReport_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Lcom_mopub_mobileads_MoPubView_Ljava_lang_String_Ljava_util_Map_JLcom_mopub_common_AdReport_, __args); } finally { JNIEnv.DeleteLocalRef(native_p1); JNIEnv.DeleteLocalRef(native_p2); } }
public unsafe ViewGestureDetector(global::Android.Content.Context p0, global::Android.Views.View p1, global::com.mopub.common.AdReport p2) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) { return; } try { JValue *__args = stackalloc JValue [3]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); __args [2] = new JValue(p2); if (((object)this).GetType() != typeof(ViewGestureDetector)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Landroid/content/Context;Landroid/view/View;Lcom/mopub/common/AdReport;)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Landroid/content/Context;Landroid/view/View;Lcom/mopub/common/AdReport;)V", __args); return; } if (id_ctor_Landroid_content_Context_Landroid_view_View_Lcom_mopub_common_AdReport_ == IntPtr.Zero) { id_ctor_Landroid_content_Context_Landroid_view_View_Lcom_mopub_common_AdReport_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Landroid/content/Context;Landroid/view/View;Lcom/mopub/common/AdReport;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Landroid_content_Context_Landroid_view_View_Lcom_mopub_common_AdReport_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Landroid_content_Context_Landroid_view_View_Lcom_mopub_common_AdReport_, __args); } finally { } }
public static unsafe global::com.mopub.mobileads.CustomEventBannerAdapter Create(global::com.mopub.mobileads.MoPubView p0, string p1, global::System.Collections.Generic.IDictionary <string, string> p2, long p3, global::com.mopub.common.AdReport p4) { if (id_create_Lcom_mopub_mobileads_MoPubView_Ljava_lang_String_Ljava_util_Map_JLcom_mopub_common_AdReport_ == IntPtr.Zero) { id_create_Lcom_mopub_mobileads_MoPubView_Ljava_lang_String_Ljava_util_Map_JLcom_mopub_common_AdReport_ = JNIEnv.GetStaticMethodID(class_ref, "create", "(Lcom/mopub/mobileads/MoPubView;Ljava/lang/String;Ljava/util/Map;JLcom/mopub/common/AdReport;)Lcom/mopub/mobileads/CustomEventBannerAdapter;"); } IntPtr native_p1 = JNIEnv.NewString(p1); IntPtr native_p2 = global::Android.Runtime.JavaDictionary <string, string> .ToLocalJniHandle(p2); try { JValue *__args = stackalloc JValue [5]; __args [0] = new JValue(p0); __args [1] = new JValue(native_p1); __args [2] = new JValue(native_p2); __args [3] = new JValue(p3); __args [4] = new JValue(p4); global::com.mopub.mobileads.CustomEventBannerAdapter __ret = global::Java.Lang.Object.GetObject <global::com.mopub.mobileads.CustomEventBannerAdapter> (JNIEnv.CallStaticObjectMethod(class_ref, id_create_Lcom_mopub_mobileads_MoPubView_Ljava_lang_String_Ljava_util_Map_JLcom_mopub_common_AdReport_, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { JNIEnv.DeleteLocalRef(native_p1); JNIEnv.DeleteLocalRef(native_p2); } }