public final class MessageDeliveredEvent
extends java.util.EventObject
This event notifies listeners, when a message has been successfully delivered.
Modifier and Type | Method and Description |
---|---|
java.time.Instant |
getDeliveryDate()
Gets the date, when the original message has been delivered, i.e. when the delivery receipt has been sent.
|
Jid |
getFrom()
Gets the sender of the receipt.
|
java.lang.String |
getMessageId()
Gets the message id of the successfully delivered message.
|
public final java.lang.String getMessageId()
Gets the message id of the successfully delivered message.
public final java.time.Instant getDeliveryDate()
Gets the date, when the original message has been delivered, i.e. when the delivery receipt has been sent.
public final Jid getFrom()
Gets the sender of the receipt. Usually this is the receiver of the original message, which requested the receipt and which can be referenced via the id. But in the context of Multi-User Chat (XEP-0045) or Multi Cast (XEP-0033) this is not the case.s
Copyright © 2014–2019 XMPP.rocks. All rights reserved.