public virtual unsafe void AssociateAsyncPrettyPrinterWithId(string p0, global::Com.Facebook.Stetho.Inspector.Network.IAsyncPrettyPrinter p1)
        {
            if (id_associateAsyncPrettyPrinterWithId_Ljava_lang_String_Lcom_facebook_stetho_inspector_network_AsyncPrettyPrinter_ == IntPtr.Zero)
            {
                id_associateAsyncPrettyPrinterWithId_Ljava_lang_String_Lcom_facebook_stetho_inspector_network_AsyncPrettyPrinter_ = JNIEnv.GetMethodID(class_ref, "associateAsyncPrettyPrinterWithId", "(Ljava/lang/String;Lcom/facebook/stetho/inspector/network/AsyncPrettyPrinter;)V");
            }
            IntPtr native_p0 = JNIEnv.NewString(p0);

            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(native_p0);
                __args [1] = new JValue(p1);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_associateAsyncPrettyPrinterWithId_Ljava_lang_String_Lcom_facebook_stetho_inspector_network_AsyncPrettyPrinter_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "associateAsyncPrettyPrinterWithId", "(Ljava/lang/String;Lcom/facebook/stetho/inspector/network/AsyncPrettyPrinter;)V"), __args);
                }
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
            }
        }
 static void n_PrintTo_Ljava_io_PrintWriter_Ljava_io_InputStream_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
 {
     global::Com.Facebook.Stetho.Inspector.Network.IAsyncPrettyPrinter __this = global::Java.Lang.Object.GetObject <global::Com.Facebook.Stetho.Inspector.Network.IAsyncPrettyPrinter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Java.IO.PrintWriter p0 = global::Java.Lang.Object.GetObject <global::Java.IO.PrintWriter> (native_p0, JniHandleOwnership.DoNotTransfer);
     System.IO.Stream            p1 = global::Android.Runtime.InputStreamInvoker.FromJniHandle(native_p1, JniHandleOwnership.DoNotTransfer);
     __this.PrintTo(p0, p1);
 }
        static void n_AssociateAsyncPrettyPrinterWithId_Ljava_lang_String_Lcom_facebook_stetho_inspector_network_AsyncPrettyPrinter_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
        {
            global::Com.Facebook.Stetho.Inspector.Network.ResponseBodyFileManager __this = global::Java.Lang.Object.GetObject <global::Com.Facebook.Stetho.Inspector.Network.ResponseBodyFileManager> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer);

            global::Com.Facebook.Stetho.Inspector.Network.IAsyncPrettyPrinter p1 = (global::Com.Facebook.Stetho.Inspector.Network.IAsyncPrettyPrinter)global::Java.Lang.Object.GetObject <global::Com.Facebook.Stetho.Inspector.Network.IAsyncPrettyPrinter> (native_p1, JniHandleOwnership.DoNotTransfer);
            __this.AssociateAsyncPrettyPrinterWithId(p0, p1);
        }
Exemplo n.º 4
0
        public unsafe global::Com.Facebook.Stetho.Inspector.Network.IAsyncPrettyPrinter GetInstance(string p0, string p1)
        {
            if (id_getInstance_Ljava_lang_String_Ljava_lang_String_ == IntPtr.Zero)
            {
                id_getInstance_Ljava_lang_String_Ljava_lang_String_ = JNIEnv.GetMethodID(class_ref, "getInstance", "(Ljava/lang/String;Ljava/lang/String;)Lcom/facebook/stetho/inspector/network/AsyncPrettyPrinter;");
            }
            IntPtr  native_p0 = JNIEnv.NewString(p0);
            IntPtr  native_p1 = JNIEnv.NewString(p1);
            JValue *__args    = stackalloc JValue [2];

            __args [0] = new JValue(native_p0);
            __args [1] = new JValue(native_p1);
            global::Com.Facebook.Stetho.Inspector.Network.IAsyncPrettyPrinter __ret = global::Java.Lang.Object.GetObject <global::Com.Facebook.Stetho.Inspector.Network.IAsyncPrettyPrinter> (JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_getInstance_Ljava_lang_String_Ljava_lang_String_, __args), JniHandleOwnership.TransferLocalRef);
            JNIEnv.DeleteLocalRef(native_p0);
            JNIEnv.DeleteLocalRef(native_p1);
            return(__ret);
        }
 static IntPtr n_GetPrettifiedType(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Facebook.Stetho.Inspector.Network.IAsyncPrettyPrinter __this = global::Java.Lang.Object.GetObject <global::Com.Facebook.Stetho.Inspector.Network.IAsyncPrettyPrinter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.ToLocalJniHandle(__this.PrettifiedType));
 }