如何使用 XMPP XEP-0184“消息传递回执"?与斯马克? [英] How can I make use of XMPP XEP-0184 "Message Delivery Receipts" with Smack?

查看:25
本文介绍了如何使用 XMPP XEP-0184“消息传递回执"?与斯马克?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么办法可以做 android xmpp 客户端,它能够获得消息接收确认 (XEP-0184) 我读到 smack 中有 XEP-0184,但正常的 smack 不适用于 android(或者我可以)t do it)总是有SASL身份验证异常.

Hi is there any way to do android xmpp client which will be able to get message receive confirmation (XEP-0184) I read that there is XEP-0184 in smack but normal smack is not working with android(or I can't do it) there is always SASL authentication exception.

推荐答案

Smack 通过 SMACK-331.你不能使用 Smack <Android 4.1 直连,需要Smack 4.1(或更高版本).

Smack received support for XEP-0184 with SMACK-331. You can't use Smack < 4.1 directly under Android, you need Smack 4.1 (or higher).

您可以在 DeliveryReceiptManager.

这篇关于如何使用 XMPP XEP-0184“消息传递回执"?与斯马克?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆