XMPP XEP 0333 Implementation in SMACK

痞子三分冷 提交于 2019-12-13 02:38:53

问题


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.

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.


回答1:


Refer this

It helps you to implement the read status like whatsapp.

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 used for receive the delivery resort.



来源:https://stackoverflow.com/questions/32451678/xmpp-xep-0333-implementation-in-smack

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!