Class ReadReceiptMessage

  • All Implemented Interfaces:

    
    public class ReadReceiptMessage
    
                        

    Read Receipt Notification Message

    This class represents a read receipt notification message. This message is neither stored nor counted in the unread message count.

    • Constructor Detail

      • ReadReceiptMessage

        ReadReceiptMessage(long sendTime)
      • ReadReceiptMessage

        ReadReceiptMessage(String uId)
      • ReadReceiptMessage

        ReadReceiptMessage(Array<byte> data)
      • ReadReceiptMessage

        ReadReceiptMessage(Parcel in)
    • Method Detail

      • getLastMessageSendTime

         long getLastMessageSendTime()

        Retrieves the timestamp (in milliseconds) of the last message sent.

        Returns:

        The timestamp (in milliseconds) of the last message sent.

      • setLastMessageSendTime

         void setLastMessageSendTime(long lastMessageSendTime)

        Sets the send time of the last message (in milliseconds)

        Parameters:
        lastMessageSendTime - The send time of the last message (in milliseconds)
      • getMessageUId

         String getMessageUId()

        Retrieves the UID (RCglobally unique ID) of the last message.

        Returns:

        The UID (RCglobally unique ID) of the last message

      • setMessageUId

         void setMessageUId(String messageUId)

        Sets the UID of the last message (RCglobally unique ID).

        Parameters:
        messageUId - The UID of the last message (RCglobally unique ID).
      • obtain

         static ReadReceiptMessage obtain(long sendTime)

        Creates a message instance.

        Parameters:
        sendTime - The timestamp when the message is sent
        Returns:

        The message instance.