XMPP XEP 0333在SMACK中的实现 [英] XMPP XEP 0333 Implementation in SMACK
问题描述
我正在开发基于XMPP的聊天应用程序.我的要求是,我需要像在whatsapp中一样显示已读/已交付状态.通过一些研究,我了解到我需要使用 XEP-0333 聊天标记实现此功能.
I am developing a XMPP based chat application. My requirement is that I need to show the read/delivered status like in whatsapp. With some research I came to a understanding that I need to use XEP-0333 chat markers to achieve this functionality.
在XMPP ios框架中,我们支持XEP-0333.对于android,我正在使用Smack
库.我在Smack库中看不到XEP-0333的任何实现.Smack已实现过时的 XEP-0022 ,不是这个.有人可以帮我这个忙吗?如何实现此XEP规范.
In XMPP ios framework we have support for XEP-0333. For android I am using Smack
library . I don't see any implementation of XEP-0333 in Smack library.Smack has implemented obsolete XEP-0022, not this one. Could somebody help me on this. How to implement this XEP specification.
推荐答案
It helps you to implement the read status like whatsapp.
对于传递信息,asmack提供了将侦听器添加到消息所需的类,然后您将获得消息的传递状态.
For delivery information asmack provides to classes required to add the listener to message then you will get the delivery status of the message.
DeliveryReceiptManager用于接收交付手段.
DeliveryReceiptManager used for receive the delivery resort.
这篇关于XMPP XEP 0333在SMACK中的实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!