MessageReceivedStatusInfo

public final class MessageReceivedStatusInfo

Message received status.

Uses bit flags to track multiple statuses simultaneously for a received message.

Parameters

flag

the status bit flag value

Constructors

Link copied to clipboard

Properties

Link copied to clipboard
private final Boolean isDownloaded

Whether the media file has been downloaded

Link copied to clipboard
private final Boolean isListened

Whether the voice message has been listened to

Link copied to clipboard
private final Boolean isMultipleReceive

Whether the message was received on multiple devices simultaneously

Link copied to clipboard
private final Boolean isRead

Whether the message has been read

Link copied to clipboard
private final Boolean isRetrieved

Whether the message has been retrieved

Functions

Link copied to clipboard
public final Integer getFlag()

Returns the status bit flag value

Link copied to clipboard
public final Boolean isDownloaded()

Whether the media file has been downloaded

Link copied to clipboard
public final Boolean isListened()

Whether the voice message has been listened to

Link copied to clipboard
public final Boolean isMultipleReceive()

Whether the message was received on multiple devices simultaneously

Link copied to clipboard
public final Boolean isRead()

Whether the message has been read

Link copied to clipboard
public final Boolean isRetrieved()

Whether the message has been retrieved

Link copied to clipboard
public final Unit setDownloaded()

Marks the media file as downloaded

Link copied to clipboard
public final Unit setListened()

Marks the voice message as listened to

Link copied to clipboard
public final Unit setMultipleReceive()

Marks the message as received on multiple devices

Link copied to clipboard
public final Unit setRead()

Marks the message as read

Link copied to clipboard
public final Unit setRetrieved()

Marks the message as retrieved

Link copied to clipboard
public String toString()