public virtual unsafe void SetPrettyPrinterInitializer(global::Com.Facebook.Stetho.Inspector.Network.IAsyncPrettyPrinterInitializer p0)
        {
            if (id_setPrettyPrinterInitializer_Lcom_facebook_stetho_inspector_network_AsyncPrettyPrinterInitializer_ == IntPtr.Zero)
            {
                id_setPrettyPrinterInitializer_Lcom_facebook_stetho_inspector_network_AsyncPrettyPrinterInitializer_ = JNIEnv.GetMethodID(class_ref, "setPrettyPrinterInitializer", "(Lcom/facebook/stetho/inspector/network/AsyncPrettyPrinterInitializer;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_setPrettyPrinterInitializer_Lcom_facebook_stetho_inspector_network_AsyncPrettyPrinterInitializer_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setPrettyPrinterInitializer", "(Lcom/facebook/stetho/inspector/network/AsyncPrettyPrinterInitializer;)V"), __args);
                }
            } finally {
            }
        }
 static void n_SetPrettyPrinterInitializer_Lcom_facebook_stetho_inspector_network_AsyncPrettyPrinterInitializer_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Facebook.Stetho.Inspector.Network.NetworkPeerManager             __this = global::Java.Lang.Object.GetObject <global::Com.Facebook.Stetho.Inspector.Network.NetworkPeerManager> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Facebook.Stetho.Inspector.Network.IAsyncPrettyPrinterInitializer p0     = (global::Com.Facebook.Stetho.Inspector.Network.IAsyncPrettyPrinterInitializer)global::Java.Lang.Object.GetObject <global::Com.Facebook.Stetho.Inspector.Network.IAsyncPrettyPrinterInitializer> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.SetPrettyPrinterInitializer(p0);
 }
Пример #3
0
 static void n_PopulatePrettyPrinters_Lcom_facebook_stetho_inspector_network_AsyncPrettyPrinterRegistry_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Facebook.Stetho.Inspector.Network.IAsyncPrettyPrinterInitializer __this = global::Java.Lang.Object.GetObject <global::Com.Facebook.Stetho.Inspector.Network.IAsyncPrettyPrinterInitializer> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Facebook.Stetho.Inspector.Network.AsyncPrettyPrinterRegistry     p0     = global::Java.Lang.Object.GetObject <global::Com.Facebook.Stetho.Inspector.Network.AsyncPrettyPrinterRegistry> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.PopulatePrettyPrinters(p0);
 }