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
public static class OmemoMessage.Received extends OmemoMessage
Incoming OMEMO message.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jivesoftware.smackx.omemo.OmemoMessage
OmemoMessage.Received, OmemoMessage.Sent
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBody()
Return the decrypted body of the message.OmemoDevice
getSenderDevice()
Return the OmemoDevice which sent the message.OmemoFingerprint
getSendersFingerprint()
Return the fingerprint of the messages sender device.boolean
isKeyTransportMessage()
Return true, if the message was a KeyTransportMessage.-
Methods inherited from class org.jivesoftware.smackx.omemo.OmemoMessage
getElement, getIv, getKey
-
-
-
-
Method Detail
-
getSendersFingerprint
public OmemoFingerprint getSendersFingerprint()
Return the fingerprint of the messages sender device.- Returns:
- fingerprint of sender
-
getSenderDevice
public OmemoDevice getSenderDevice()
Return the OmemoDevice which sent the message.- Returns:
- OMEMO device that sent the message.
-
isKeyTransportMessage
public boolean isKeyTransportMessage()
Return true, if the message was a KeyTransportMessage. A KeyTransportMessage is a OmemoMessage without a payload.- Returns:
- keyTransportMessage?
-
-