Agora Java API Reference for Android
Public Member Functions | List of all members
io.agora.rtm.RtmHistory Class Referenceabstract

Public Member Functions

abstract void getMessages (String channelName, RtmChannelType channelType, GetHistoryMessagesOptions options, ResultCallback< GetMessagesResult > resultCallback)
 

Detailed Description

The RtmHistory class.

This class provides the rtm history methods that can be invoked by your app.

Member Function Documentation

◆ getMessages()

abstract void io.agora.rtm.RtmHistory.getMessages ( String  channelName,
RtmChannelType  channelType,
GetHistoryMessagesOptions  options,
ResultCallback< GetMessagesResult resultCallback 
)
abstract

gets history messages in the channel.

Parameters
channelNameThe name of the channel.
channelTypeThe type of the channel.
optionsThe query options.
resultCallbackA ResultCallback object.