public interface OmemoMessageListener
| Modifier and Type | Method and Description |
|---|---|
void |
onOmemoKeyTransportReceived(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 |
onOmemoMessageReceived(java.lang.String decryptedBody,
org.jivesoftware.smack.packet.Message encryptedMessage,
org.jivesoftware.smack.packet.Message wrappingMessage,
OmemoMessageInformation omemoInformation)
Gets called, whenever an OmemoMessage has been received and was successfully decrypted.
|
void onOmemoMessageReceived(java.lang.String decryptedBody,
org.jivesoftware.smack.packet.Message encryptedMessage,
org.jivesoftware.smack.packet.Message wrappingMessage,
OmemoMessageInformation omemoInformation)
decryptedBody - Decrypted bodyencryptedMessage - Encrypted MessagewrappingMessage - Wrapping carbon message, in case the message was a carbon copy, else null.omemoInformation - Information about the messages encryption etc.void onOmemoKeyTransportReceived(CipherAndAuthTag cipherAndAuthTag, org.jivesoftware.smack.packet.Message message, org.jivesoftware.smack.packet.Message wrappingMessage, OmemoMessageInformation omemoInformation)
cipherAndAuthTag - transported Cipher along with an optional AuthTagmessage - Message that contained the KeyTransportwrappingMessage - Wrapping message (eg. carbon), or nullomemoInformation - Information about the messages encryption etc.