コード例 #1
0
            public unsafe void PerformPickFor(global::Artifex.MuPdf.FilePicker p0)
            {
                if (id_performPickFor_Lcom_artifex_mupdfdemo_FilePicker_ == IntPtr.Zero)
                {
                    id_performPickFor_Lcom_artifex_mupdfdemo_FilePicker_ = JNIEnv.GetMethodID(class_ref, "performPickFor", "(Lcom/artifex/mupdfdemo/FilePicker;)V");
                }
                JValue *__args = stackalloc JValue [1];

                __args [0] = new JValue(p0);
                JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_performPickFor_Lcom_artifex_mupdfdemo_FilePicker_, __args);
            }
コード例 #2
0
 static void n_PerformPickFor_Lcom_artifex_mupdfdemo_FilePicker_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Artifex.MuPdf.FilePicker.IFilePickerSupport __this = global::Java.Lang.Object.GetObject <global::Artifex.MuPdf.FilePicker.IFilePickerSupport> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Artifex.MuPdf.FilePicker p0 = global::Java.Lang.Object.GetObject <global::Artifex.MuPdf.FilePicker> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.PerformPickFor(p0);
 }