Exemple #1
0
 static void n_OnResponse_Lcom_facebook_stetho_inspector_jsonrpc_JsonRpcPeer_Lcom_facebook_stetho_inspector_jsonrpc_protocol_JsonRpcResponse_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
 {
     global::Com.Facebook.Stetho.Inspector.Jsonrpc.IPendingRequestCallback  __this = global::Java.Lang.Object.GetObject <global::Com.Facebook.Stetho.Inspector.Jsonrpc.IPendingRequestCallback> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Facebook.Stetho.Inspector.Jsonrpc.JsonRpcPeer              p0     = global::Java.Lang.Object.GetObject <global::Com.Facebook.Stetho.Inspector.Jsonrpc.JsonRpcPeer> (native_p0, JniHandleOwnership.DoNotTransfer);
     global::Com.Facebook.Stetho.Inspector.Jsonrpc.Protocol.JsonRpcResponse p1     = global::Java.Lang.Object.GetObject <global::Com.Facebook.Stetho.Inspector.Jsonrpc.Protocol.JsonRpcResponse> (native_p1, JniHandleOwnership.DoNotTransfer);
     __this.OnResponse(p0, p1);
 }
Exemple #2
0
        public unsafe void OnResponse(global::Com.Facebook.Stetho.Inspector.Jsonrpc.JsonRpcPeer p0, global::Com.Facebook.Stetho.Inspector.Jsonrpc.Protocol.JsonRpcResponse p1)
        {
            if (id_onResponse_Lcom_facebook_stetho_inspector_jsonrpc_JsonRpcPeer_Lcom_facebook_stetho_inspector_jsonrpc_protocol_JsonRpcResponse_ == IntPtr.Zero)
            {
                id_onResponse_Lcom_facebook_stetho_inspector_jsonrpc_JsonRpcPeer_Lcom_facebook_stetho_inspector_jsonrpc_protocol_JsonRpcResponse_ = JNIEnv.GetMethodID(class_ref, "onResponse", "(Lcom/facebook/stetho/inspector/jsonrpc/JsonRpcPeer;Lcom/facebook/stetho/inspector/jsonrpc/protocol/JsonRpcResponse;)V");
            }
            JValue *__args = stackalloc JValue [2];

            __args [0] = new JValue(p0);
            __args [1] = new JValue(p1);
            JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onResponse_Lcom_facebook_stetho_inspector_jsonrpc_JsonRpcPeer_Lcom_facebook_stetho_inspector_jsonrpc_protocol_JsonRpcResponse_, __args);
        }