Пример #1
0
        static IntPtr n_InternalCreate_Landroid_content_Context_Lcom_mopub_mobileads_MoPubView_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
        {
            global::Com.Mopub.Mobileads.Factories.AdViewControllerFactory __this = global::Java.Lang.Object.GetObject <global::Com.Mopub.Mobileads.Factories.AdViewControllerFactory> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Android.Content.Context       p0 = global::Java.Lang.Object.GetObject <global::Android.Content.Context> (native_p0, JniHandleOwnership.DoNotTransfer);
            global::com.mopub.mobileads.MoPubView p1 = global::Java.Lang.Object.GetObject <global::com.mopub.mobileads.MoPubView> (native_p1, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.InternalCreate(p0, p1));

            return(__ret);
        }
Пример #2
0
 public static unsafe void SetInstance(global::Com.Mopub.Mobileads.Factories.AdViewControllerFactory p0)
 {
     if (id_setInstance_Lcom_mopub_mobileads_factories_AdViewControllerFactory_ == IntPtr.Zero)
     {
         id_setInstance_Lcom_mopub_mobileads_factories_AdViewControllerFactory_ = JNIEnv.GetStaticMethodID(class_ref, "setInstance", "(Lcom/mopub/mobileads/factories/AdViewControllerFactory;)V");
     }
     try {
         JValue *__args = stackalloc JValue [1];
         __args [0] = new JValue(p0);
         JNIEnv.CallStaticVoidMethod(class_ref, id_setInstance_Lcom_mopub_mobileads_factories_AdViewControllerFactory_, __args);
     } finally {
     }
 }