我正在使用 XMPP 创建适用于 Android 的 Instant Messenger 应用程序。如何判断我发送的消息是否被服务器接收?或者如何判断消息是否已经发送?
最佳答案
您需要支持名为 Stream Management 的东西,它允许您确认服务器已收到您发送的节。 Smack doesn't have support for this还没有。
另一个选项是 end-to-end receipts , 但这个 isn't supported either .
关于android - 我如何知道服务器是否收到聊天消息?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11304147/