ReceivedStatus

public class ReceivedStatus

The status of the received message.

It is a bitwise-marked enumeration that supports bitwise operations.

Constructors

Link copied to clipboard
public void Message.ReceivedStatus(int flag)
Constructor.

Properties

Link copied to clipboard
public int flag
Link copied to clipboard
public boolean isDownload
Link copied to clipboard
public boolean isListened
Link copied to clipboard
public boolean isMultipleReceive
Link copied to clipboard
public boolean isRead
Link copied to clipboard
public boolean isRetrieved

Functions

Link copied to clipboard
public int getFlag()
Retrieves the status identifier.
Link copied to clipboard
public boolean isDownload()
Retrieves the download status of the file.
Link copied to clipboard
public boolean isListened()
Retrieves whether the message has been listened to.
Link copied to clipboard
public boolean isMultipleReceive()
Indicates whether the message has been received by other devices simultaneously.
Link copied to clipboard
public boolean isRead()
Retrieves the read status.
Link copied to clipboard
public boolean isRetrieved()
Checks whether it has already been charged.
Link copied to clipboard
public void setDownload()
Sets the status of whether the file has been downloaded.
Link copied to clipboard
public void setListened()
Specifies whether the status has been listened to.
Link copied to clipboard
public void setMultipleReceive()
Set to indicate that the message has been received by another device.
Link copied to clipboard
public void setRead()
Sets the read status.
Link copied to clipboard
public void setRetrieved()
Mark as received.