public unsafe MuPDFReflowAdapter(global::Android.Content.Context p0, global::Artifex.MuPdf.MuPDFCore p1) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) { return; } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); if (((object)this).GetType() != typeof(MuPDFReflowAdapter)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Landroid/content/Context;Lcom/artifex/mupdfdemo/MuPDFCore;)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Landroid/content/Context;Lcom/artifex/mupdfdemo/MuPDFCore;)V", __args); return; } if (id_ctor_Landroid_content_Context_Lcom_artifex_mupdfdemo_MuPDFCore_ == IntPtr.Zero) { id_ctor_Landroid_content_Context_Lcom_artifex_mupdfdemo_MuPDFCore_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Landroid/content/Context;Lcom/artifex/mupdfdemo/MuPDFCore;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Landroid_content_Context_Lcom_artifex_mupdfdemo_MuPDFCore_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Landroid_content_Context_Lcom_artifex_mupdfdemo_MuPDFCore_, __args); } finally { } }
public unsafe MuPDFPageView(global::Android.Content.Context p0, global::Artifex.MuPdf.FilePicker.IFilePickerSupport p1, global::Artifex.MuPdf.MuPDFCore p2, global::Android.Graphics.Point p3, global::Android.Graphics.Bitmap p4) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) { return; } try { JValue *__args = stackalloc JValue [5]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); __args [2] = new JValue(p2); __args [3] = new JValue(p3); __args [4] = new JValue(p4); if (((object)this).GetType() != typeof(MuPDFPageView)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Landroid/content/Context;Lcom/artifex/mupdfdemo/FilePicker$FilePickerSupport;Lcom/artifex/mupdfdemo/MuPDFCore;Landroid/graphics/Point;Landroid/graphics/Bitmap;)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Landroid/content/Context;Lcom/artifex/mupdfdemo/FilePicker$FilePickerSupport;Lcom/artifex/mupdfdemo/MuPDFCore;Landroid/graphics/Point;Landroid/graphics/Bitmap;)V", __args); return; } if (id_ctor_Landroid_content_Context_Lcom_artifex_mupdfdemo_FilePicker_FilePickerSupport_Lcom_artifex_mupdfdemo_MuPDFCore_Landroid_graphics_Point_Landroid_graphics_Bitmap_ == IntPtr.Zero) { id_ctor_Landroid_content_Context_Lcom_artifex_mupdfdemo_FilePicker_FilePickerSupport_Lcom_artifex_mupdfdemo_MuPDFCore_Landroid_graphics_Point_Landroid_graphics_Bitmap_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Landroid/content/Context;Lcom/artifex/mupdfdemo/FilePicker$FilePickerSupport;Lcom/artifex/mupdfdemo/MuPDFCore;Landroid/graphics/Point;Landroid/graphics/Bitmap;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Landroid_content_Context_Lcom_artifex_mupdfdemo_FilePicker_FilePickerSupport_Lcom_artifex_mupdfdemo_MuPDFCore_Landroid_graphics_Point_Landroid_graphics_Bitmap_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Landroid_content_Context_Lcom_artifex_mupdfdemo_FilePicker_FilePickerSupport_Lcom_artifex_mupdfdemo_MuPDFCore_Landroid_graphics_Point_Landroid_graphics_Bitmap_, __args); } finally { } }