public static class OmemoMessage.Sent extends OmemoMessage
OmemoMessage.Received, OmemoMessage.Sent
Modifier and Type | Method and Description |
---|---|
Message |
asMessage(Jid recipient)
Return the OmemoElement wrapped in a Message ready to be sent.
|
Set<OmemoDevice> |
getIntendedDevices()
Return a list of all devices the sender originally intended to encrypt the message for.
|
HashMap<OmemoDevice,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 Set<OmemoDevice> getIntendedDevices()
public HashMap<OmemoDevice,Throwable> getSkippedDevices()
public boolean isMissingRecipients()
public Message asMessage(Jid recipient)
recipient
- recipient for the to-field of the message.