Agora Java API Reference for Android
|
Public Member Functions | |
GetHistoryMessagesOptions () | |
GetHistoryMessagesOptions (int messageCount, long start, long end) | |
void | setMessageCount (int messageCount) |
void | setStart (long start) |
void | setEnd (long end) |
int | getMessageCount () |
long | getStart () |
long | getEnd () |
String | toString () |
This class represents options for retrieving the message history of a channel. It provides the ability to specify the number of messages to retrieve, and the start and end timestamps of the messages to retrieve.
io.agora.rtm.GetHistoryMessagesOptions.GetHistoryMessagesOptions | ( | ) |
io.agora.rtm.GetHistoryMessagesOptions.GetHistoryMessagesOptions | ( | int | messageCount, |
long | start, | ||
long | end | ||
) |
Constructs a new instance of
with the specified options.
messageCount | The number of messages to retrieve. |
start | The start timestamp of the messages to retrieve. |
end | The end timestamp of the messages to retrieve. |