RecallCommandMessage

Recall Command Message Class

The recall command message class is used to send signaling messages when recalling a message. This message is neither stored nor counted.

Constructors

Link copied to clipboard
public void RecallCommandMessage(String UId)
public void RecallCommandMessage(String UId, String ex)
public void RecallCommandMessage(Array<byte> data)
public void RecallCommandMessage(Parcel in)

Properties

Link copied to clipboard
public String channelId
Business identifier of the conversation to which the message belongs
Link copied to clipboard
public int conversationType
Conversation type
Link copied to clipboard
public final static Creator<RecallCommandMessage> CREATOR
Read interface, designed to construct an instance of a class that implements Parcelable from a Parcel.
Link copied to clipboard
public boolean isAdmin
Is it an admin operation
Link copied to clipboard
public boolean isDelete
Whether to delete
Link copied to clipboard
public String messageUId
UID of the recalled message
Link copied to clipboard
public long sentTime
Message sending time
Link copied to clipboard
public String targetId
Target conversation ID

Functions

Link copied to clipboard
public int describeContents()
Link copied to clipboard
public Array<byte> encode()
Serializes the data to be transmitted.
Link copied to clipboard
public String getChannelId()
Link copied to clipboard
public int getConversationType()
Get the conversation type
Link copied to clipboard
public String getMessageUId()
Retrieves the UID of the recalled message
Link copied to clipboard
public long getSentTime()
Get the message sending time
Link copied to clipboard
public String getTargetId()
Get the target conversation ID
Link copied to clipboard
public boolean isAdmin()
Indicates whether it is an admin operation
Link copied to clipboard
public boolean isDelete()
Whether to delete
Link copied to clipboard
public void setAdmin(boolean admin)
Sets whether the operation is performed by an admin
Link copied to clipboard
public void setChannelId(String channelId)
Link copied to clipboard
public void setConversationType(int conversationType)
Set the conversation type
Link copied to clipboard
public void setDelete(boolean delete)
Sets whether the message should be deleted
Link copied to clipboard
public void setMessageUId(String messageUId)
Sets the UID of the message to be recalled
Link copied to clipboard
public void setSentTime(long sentTime)
Set the message sending time
Link copied to clipboard
public void setTargetId(String targetId)
Sets the target conversation ID
Link copied to clipboard
public void writeToParcel(Parcel dest, int flags)