Interface OmemoMessageListener
-
public interface OmemoMessageListener
Listener interface that allows implementations to receive decrypted OMEMO messages.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onOmemoCarbonCopyReceived(CarbonExtension.Direction direction, Message carbonCopy, Message wrappingMessage, OmemoMessage.Received decryptedCarbonCopy)
void
onOmemoMessageReceived(Stanza stanza, OmemoMessage.Received decryptedMessage)
Gets called, whenever an OmemoMessage has been received and was successfully decrypted.
-
-
-
Method Detail
-
onOmemoMessageReceived
void onOmemoMessageReceived(Stanza stanza, OmemoMessage.Received decryptedMessage)
Gets called, whenever an OmemoMessage has been received and was successfully decrypted.- Parameters:
stanza
- Received (encrypted) stanza.decryptedMessage
- decrypted OmemoMessage.
-
onOmemoCarbonCopyReceived
void onOmemoCarbonCopyReceived(CarbonExtension.Direction direction, Message carbonCopy, Message wrappingMessage, OmemoMessage.Received decryptedCarbonCopy)
-
-