static void n_loadNativeAd_Landroid_app_Activity_Lcom_mopub_nativeads_CustomEventNative_CustomEventNativeListener_Ljava_util_Map_Ljava_util_Map_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, IntPtr native_p2, IntPtr native_p3)
        {
            global::Com.Mopub.Nativeads.CustomEventNative __this = global::Java.Lang.Object.GetObject <global::Com.Mopub.Nativeads.CustomEventNative> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Android.App.Activity p0 = global::Java.Lang.Object.GetObject <global::Android.App.Activity> (native_p0, JniHandleOwnership.DoNotTransfer);
            global::Com.Mopub.Nativeads.CustomEventNative.ICustomEventNativeListener p1 = (global::Com.Mopub.Nativeads.CustomEventNative.ICustomEventNativeListener)global::Java.Lang.Object.GetObject <global::Com.Mopub.Nativeads.CustomEventNative.ICustomEventNativeListener> (native_p1, JniHandleOwnership.DoNotTransfer);
            var p2 = global::Android.Runtime.JavaDictionary <string, global::Java.Lang.Object> .FromJniHandle(native_p2, JniHandleOwnership.DoNotTransfer);

            var p3 = global::Android.Runtime.JavaDictionary <string, string> .FromJniHandle(native_p3, JniHandleOwnership.DoNotTransfer);

            __this.loadNativeAd(p0, p1, p2, p3);
        }
        public static unsafe global::Com.Mopub.Nativeads.CustomEventNative Create(string p0)
        {
            if (id_create_Ljava_lang_String_ == IntPtr.Zero)
            {
                id_create_Ljava_lang_String_ = JNIEnv.GetStaticMethodID(class_ref, "create", "(Ljava/lang/String;)Lcom/mopub/nativeads/CustomEventNative;");
            }
            IntPtr native_p0 = JNIEnv.NewString(p0);

            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(native_p0);
                global::Com.Mopub.Nativeads.CustomEventNative __ret = global::Java.Lang.Object.GetObject <global::Com.Mopub.Nativeads.CustomEventNative> (JNIEnv.CallStaticObjectMethod(class_ref, id_create_Ljava_lang_String_, __args), JniHandleOwnership.TransferLocalRef);
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
            }
        }