public interface OmemoMucMessageListener
| Modifier and Type | Method and Description |
|---|---|
void |
onOmemoKeyTransportReceived(org.jivesoftware.smackx.muc.MultiUserChat muc,
org.jxmpp.jid.BareJid from,
CipherAndAuthTag cipherAndAuthTag,
org.jivesoftware.smack.packet.Message message,
org.jivesoftware.smack.packet.Message wrappingMessage,
OmemoMessageInformation omemoInformation)
Gets called, whenever an OmemoElement without a body (an OmemoKeyTransportElement) is received.
|
void |
onOmemoMucMessageReceived(org.jivesoftware.smackx.muc.MultiUserChat muc,
org.jxmpp.jid.BareJid from,
java.lang.String decryptedBody,
org.jivesoftware.smack.packet.Message message,
org.jivesoftware.smack.packet.Message wrappingMessage,
OmemoMessageInformation omemoInformation)
Gets called whenever an OMEMO message has been received in a MultiUserChat and successfully decrypted.
|
void onOmemoMucMessageReceived(org.jivesoftware.smackx.muc.MultiUserChat muc,
org.jxmpp.jid.BareJid from,
java.lang.String decryptedBody,
org.jivesoftware.smack.packet.Message message,
org.jivesoftware.smack.packet.Message wrappingMessage,
OmemoMessageInformation omemoInformation)
muc - MultiUserChat the message was sent infrom - the bareJid of the senderdecryptedBody - the decrypted Body of the messagemessage - the original message with encrypted elementwrappingMessage - in case of a carbon copy, this is the wrapping messageomemoInformation - information about the encryption of the messagevoid onOmemoKeyTransportReceived(org.jivesoftware.smackx.muc.MultiUserChat muc,
org.jxmpp.jid.BareJid from,
CipherAndAuthTag cipherAndAuthTag,
org.jivesoftware.smack.packet.Message message,
org.jivesoftware.smack.packet.Message wrappingMessage,
OmemoMessageInformation omemoInformation)
muc - MultiUserChat the message was sent infrom - bareJid of the sendercipherAndAuthTag - transportedKey along with an optional authTagmessage - Message that contained the KeyTransportwrappingMessage - Wrapping message (eg. carbon), or nullomemoInformation - Information about the messages encryption etc.