powered by Jive Software

Smack 4.2 working with streams

I would like to receive message status from server as well as client (sent, delivered, maybe read as well), so I thought that XEP-0198: Stream Management might help.

But cannot seem to find any docs/examples.

All I found is how to enable stream management:

connection.setUseStreamManagement(true) // and other such methods relating to streams

But I am unable to figure out how to receive ack messages from server and client for every message I send.