public static class OmemoMessage.Sent extends OmemoMessage
OmemoMessage.Received, OmemoMessage.Sent
Modifier and Type | Method and Description |
---|---|
org.jivesoftware.smack.packet.Message |
asMessage(org.jxmpp.jid.Jid recipient)
Return the OmemoElement wrapped in a Message ready to be sent.
|
java.util.Set<OmemoDevice> |
getIntendedDevices()
Return a list of all devices the sender originally intended to encrypt the message for.
|
java.util.HashMap<OmemoDevice,java.lang.Throwable> |
getSkippedDevices()
Return a map of all skipped recipients and the reasons for skipping.
|
boolean |
isMissingRecipients()
Determine, if some recipients were skipped during encryption.
|
getElement, getIv, getKey
public java.util.Set<OmemoDevice> getIntendedDevices()
public java.util.HashMap<OmemoDevice,java.lang.Throwable> getSkippedDevices()
public boolean isMissingRecipients()
public org.jivesoftware.smack.packet.Message asMessage(org.jxmpp.jid.Jid recipient)
recipient
- recipient for the to-field of the message.