public unsafe ServerManager(global::Com.Facebook.Stetho.Server.LocalSocketServer 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(ServerManager)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Lcom/facebook/stetho/server/LocalSocketServer;)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Lcom/facebook/stetho/server/LocalSocketServer;)V", __args); return; } if (id_ctor_Lcom_facebook_stetho_server_LocalSocketServer_ == IntPtr.Zero) { id_ctor_Lcom_facebook_stetho_server_LocalSocketServer_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/facebook/stetho/server/LocalSocketServer;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_facebook_stetho_server_LocalSocketServer_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Lcom_facebook_stetho_server_LocalSocketServer_, __args); } finally { } }
static void n_Stop(IntPtr jnienv, IntPtr native__this) { global::Com.Facebook.Stetho.Server.LocalSocketServer __this = global::Java.Lang.Object.GetObject <global::Com.Facebook.Stetho.Server.LocalSocketServer> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.Stop(); }
static IntPtr n_GetName(IntPtr jnienv, IntPtr native__this) { global::Com.Facebook.Stetho.Server.LocalSocketServer __this = global::Java.Lang.Object.GetObject <global::Com.Facebook.Stetho.Server.LocalSocketServer> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.NewString(__this.Name)); }