ReadReceiptMessage

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.

Constructors

Link copied to clipboard
public void ReadReceiptMessage(long sendTime)
public void ReadReceiptMessage(String uId)
public void ReadReceiptMessage(long sendTime, String uId, ReadReceiptMessage.ReadReceiptType type)
public void ReadReceiptMessage(Array<byte> data)
public void ReadReceiptMessage(Parcel in)

Types

Link copied to clipboard
public enum ReadReceiptType

Properties

Link copied to clipboard
public final static Creator<ReadReceiptMessage> CREATOR
Read interface, designed to construct an instance of a class that implements Parcelable from a Parcel.
Link copied to clipboard
public long lastMessageSendTime
Timestamp of the last message (in milliseconds)
Link copied to clipboard
public String messageUId
UID of the last message (RCglobally unique ID)
Link copied to clipboard
Message Type 1: Timestamp of the last message sent 2: UID of the last message sender

Functions

Link copied to clipboard
public int describeContents()
Link copied to clipboard
public Array<byte> encode()
Link copied to clipboard
public long getLastMessageSendTime()
Retrieves the timestamp (in milliseconds) of the last message sent.
Link copied to clipboard
public String getMessageUId()
Retrieves the UID (RCglobally unique ID) of the last message.
Link copied to clipboard
Link copied to clipboard
public static ReadReceiptMessage obtain(long sendTime)
Creates a message instance.
Link copied to clipboard
public void setLastMessageSendTime(long lastMessageSendTime)
Sets the send time of the last message (in milliseconds)
Link copied to clipboard
public void setMessageUId(String messageUId)
Sets the UID of the last message (RCglobally unique ID).
Link copied to clipboard
Sets the message type
Link copied to clipboard
public void writeToParcel(Parcel dest, int flags)