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.
  • Method Details

    • getBody

      public String 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

      public boolean isKeyTransportMessage()
      Return true, if the message was a KeyTransportMessage. A KeyTransportMessage is a OmemoMessage without a payload.
      Returns:
      keyTransportMessage?