57 virtual void onPrivateMessage(
const Message& message) = 0;
103 virtual Result getPublicHistoryMessage(
bool latest,
uint32 begindex,
uint32& ncount, MessagesType& msgs) = 0;
114 virtual Result getPrivateHistoryMessage(
const UserId& userId,
bool latest,
uint32 begindex,
uint32& ncount, MessagesType& msgs) = 0;
String message
消息内容
Definition: mchat.h:20
String UserId
用户号类型,唯一标识房间内一个用户,长度不大于Max_UserId定义;由应用层定义传递给AVD SDK,要求保证房间...
Definition: common.h:13
int Result
返回值类型
Definition: combase.h:9
uint32 timestamp
消息时间戳,对应用层是本地时间,传输中用GMT时间
Definition: mchat.h:17
#define RT_API_EXPORT
Definition: defines.h:186
房间模块接口类
Definition: room.h:349
unsigned int uint32
Definition: defines.h:391
String fromName
消息发送者名
Definition: mchat.h:19
std::string String
tee3定义的String类型
Definition: common.h:10
房间中聊天模块回调接口.
Definition: mchat.h:39
virtual ~IListener()
Definition: mchat.h:59
UserId fromId
消息发送者Id
Definition: mchat.h:18
房间接口类
Definition: room.h:17
聊天消息结构.
Definition: mchat.h:16
std::vector< Message > MessagesType
聊天消息列表类型.
Definition: mchat.h:25
房间中聊天模块接口.
Definition: mchat.h:32
Definition: audiocapture.h:5
virtual ~IMChat()
Definition: mchat.h:117