Package org.jivesoftware.smackx.omemo
Class OmemoMessage.Received
java.lang.Object
org.jivesoftware.smackx.omemo.OmemoMessage
org.jivesoftware.smackx.omemo.OmemoMessage.Received
- Enclosing class:
- OmemoMessage
Incoming OMEMO message.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jivesoftware.smackx.omemo.OmemoMessage
OmemoMessage.Received, OmemoMessage.Sent -
Method Summary
Modifier and TypeMethodDescriptiongetBody()Return the decrypted body of the message.Return the OmemoDevice which sent the message.Return the fingerprint of the messages sender device.booleanReturn true, if the message was a KeyTransportMessage.Methods inherited from class org.jivesoftware.smackx.omemo.OmemoMessage
getElement, getIv, getKey
-
Method Details
-
getBody
Return the decrypted body of the message.- Returns:
- decrypted body
-
getSendersFingerprint
Return the fingerprint of the messages sender device.- Returns:
- fingerprint of sender
-
getSenderDevice
Return the OmemoDevice which sent the message.- Returns:
- OMEMO device that sent the message.
-
isKeyTransportMessage
Return true, if the message was a KeyTransportMessage. A KeyTransportMessage is a OmemoMessage without a payload.- Returns:
- keyTransportMessage?
-