public class OfflineMessageHeader extends Object
OfflineMessageManager
class.
Each offline message is identified by the target user of the offline message and a unique stamp.
Use OfflineMessageManager.getMessages(java.util.List)
to retrieve the whole message.
Constructor and Description |
---|
OfflineMessageHeader(DiscoverItems.Item item) |
Modifier and Type | Method and Description |
---|---|
String |
getJid()
Returns the full JID of the user that sent the message.
|
String |
getStamp()
Returns the stamp that uniquely identifies the offline message.
|
Jid |
getUser()
Returns the bare JID of the user that was offline when the message was sent.
|
public OfflineMessageHeader(DiscoverItems.Item item)
public Jid getUser()
public String getJid()
public String getStamp()