public unsafe LazySocketHandler(global::Com.Facebook.Stetho.Server.ISocketHandlerFactory p0)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);
                if (GetType() != typeof(LazySocketHandler))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Lcom/facebook/stetho/server/SocketHandlerFactory;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Lcom/facebook/stetho/server/SocketHandlerFactory;)V", __args);
                    return;
                }

                if (id_ctor_Lcom_facebook_stetho_server_SocketHandlerFactory_ == IntPtr.Zero)
                {
                    id_ctor_Lcom_facebook_stetho_server_SocketHandlerFactory_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/facebook/stetho/server/SocketHandlerFactory;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_facebook_stetho_server_SocketHandlerFactory_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Lcom_facebook_stetho_server_SocketHandlerFactory_, __args);
            } finally {
            }
        }
 static IntPtr n_Create(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Facebook.Stetho.Server.ISocketHandlerFactory __this = global::Java.Lang.Object.GetObject <global::Com.Facebook.Stetho.Server.ISocketHandlerFactory> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.ToLocalJniHandle(__this.Create()));
 }