public virtual void SetOnDoubleTapListener(global::Com.Joanzapata.Pdfview.Util.DragPinchListener.IOnDoubleTapListener p0)
        {
            if (id_setOnDoubleTapListener_Lcom_joanzapata_pdfview_util_DragPinchListener_OnDoubleTapListener_ == IntPtr.Zero)
            {
                id_setOnDoubleTapListener_Lcom_joanzapata_pdfview_util_DragPinchListener_OnDoubleTapListener_ = JNIEnv.GetMethodID(class_ref, "setOnDoubleTapListener", "(Lcom/joanzapata/pdfview/util/DragPinchListener$OnDoubleTapListener;)V");
            }

            if (GetType() == ThresholdType)
            {
                JNIEnv.CallVoidMethod(Handle, id_setOnDoubleTapListener_Lcom_joanzapata_pdfview_util_DragPinchListener_OnDoubleTapListener_, new JValue(p0));
            }
            else
            {
                JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setOnDoubleTapListener", "(Lcom/joanzapata/pdfview/util/DragPinchListener$OnDoubleTapListener;)V"), new JValue(p0));
            }
        }
 static void n_SetOnDoubleTapListener_Lcom_joanzapata_pdfview_util_DragPinchListener_OnDoubleTapListener_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Joanzapata.Pdfview.Util.DragPinchListener __this = global::Java.Lang.Object.GetObject <global::Com.Joanzapata.Pdfview.Util.DragPinchListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Joanzapata.Pdfview.Util.DragPinchListener.IOnDoubleTapListener p0 = (global::Com.Joanzapata.Pdfview.Util.DragPinchListener.IOnDoubleTapListener)global::Java.Lang.Object.GetObject <global::Com.Joanzapata.Pdfview.Util.DragPinchListener.IOnDoubleTapListener> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.SetOnDoubleTapListener(p0);
 }
 static void n_OnDoubleTap_FF(IntPtr jnienv, IntPtr native__this, float p0, float p1)
 {
     global::Com.Joanzapata.Pdfview.Util.DragPinchListener.IOnDoubleTapListener __this = global::Java.Lang.Object.GetObject <global::Com.Joanzapata.Pdfview.Util.DragPinchListener.IOnDoubleTapListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.OnDoubleTap(p0, p1);
 }