NIM PC Cross Platform SDK
|
#include <v2_nim_def_callback.hpp>
nstd::function<void(bool chatBanned)> v2::V2NIMChatroomListener::onChatroomChatBannedUpdated |
聊天室禁言状态更新
nstd::function<void(V2NIMChatroomInfo chatroomInfo)> v2::V2NIMChatroomListener::onChatroomInfoUpdated |
聊天室信息更新
nstd::function<void(V2NIMChatroomMember member)> v2::V2NIMChatroomListener::onChatroomMemberEnter |
聊天室成员进入
nstd::function<void(nstd::string accountId)> v2::V2NIMChatroomListener::onChatroomMemberExit |
聊天室成员退出
nstd::function<void(V2NIMChatroomMember member)> v2::V2NIMChatroomListener::onChatroomMemberInfoUpdated |
成员信息更新
nstd::function<void(V2NIMChatroomMemberRole previousRole, V2NIMChatroomMember member)> v2::V2NIMChatroomListener::onChatroomMemberRoleUpdated |
成员角色更新
nstd::function<void(nstd::vector<nstd::string> tags)> v2::V2NIMChatroomListener::onChatroomTagsUpdated |
更新角色标签
nstd::function<void(nstd::string messageClientId, uint64_t messageTime)> v2::V2NIMChatroomListener::onMessageRevokedNotification |
消息撤回回调
nstd::function<void(nstd::vector<V2NIMChatroomMessage> messages)> v2::V2NIMChatroomListener::onReceiveMessages |
收到新消息
nstd::function<void(bool chatBanned)> v2::V2NIMChatroomListener::onSelfChatBannedUpdated |
自己的禁言状态变更
nstd::function<void(bool tempChatBanned, uint64_t tempChatBannedDuration)> v2::V2NIMChatroomListener::onSelfTempChatBannedUpdated |
自己的临时禁言状态变更
nstd::function<void(const V2NIMChatroomMessage& message)> v2::V2NIMChatroomListener::onSendMessage |
本端发送消息状态回调