|
NIMSDK-AOS
10.9.76
|
聊天室监听回调 更多...
Public 成员函数 | |
| void | onReceiveMessages (List< V2NIMChatroomMessage > messages) |
| 收到新消息 更多... | |
| void | onSendMessage (V2NIMChatroomMessage message) |
| 本端发送消息状态回调 来源: 发送消息 更多... | |
| void | onChatroomMemberEnter (V2NIMChatroomMember member) |
| 聊天室成员进入 更多... | |
| void | onChatroomMemberExit (String accountId) |
| 聊天室成员离开 更多... | |
| void | onChatroomMemberRoleUpdated (V2NIMChatroomMemberRole previousRole, V2NIMChatroomMember member) |
| 成员角色更新 更多... | |
| void | onChatroomMemberInfoUpdated (V2NIMChatroomMember member) |
| 成员信息更新 更多... | |
| void | onSelfChatBannedUpdated (boolean chatBanned) |
| 自己的禁言状态变更 更多... | |
| void | onSelfTempChatBannedUpdated (boolean tempChatBanned, long tempChatBannedDuration) |
| 自己的临时禁言状态变更 更多... | |
| void | onChatroomInfoUpdated (V2NIMChatroomInfo chatroom) |
| 聊天室信息更新 更多... | |
| void | onChatroomChatBannedUpdated (boolean chatBanned) |
| 聊天室禁言状态更新 更多... | |
| void | onMessageRevokedNotification (String messageClientId, long messageTime) |
| 消息撤回回调 更多... | |
| void | onChatroomTagsUpdated (List< String > tags) |
| 更新角色标签 更多... | |
聊天室监听回调
在文件 V2NIMChatroomListener.java 第 14 行定义.
| void com.netease.nimlib.sdk.v2.chatroom.V2NIMChatroomListener.onChatroomChatBannedUpdated | ( | boolean | chatBanned | ) |
聊天室禁言状态更新
| chatBanned | 禁言状态 |
| void com.netease.nimlib.sdk.v2.chatroom.V2NIMChatroomListener.onChatroomInfoUpdated | ( | V2NIMChatroomInfo | chatroom | ) |
聊天室信息更新
| chatroom | 聊天室信息 |
| void com.netease.nimlib.sdk.v2.chatroom.V2NIMChatroomListener.onChatroomMemberEnter | ( | V2NIMChatroomMember | member | ) |
聊天室成员进入
| member | 聊天室成员 |
| void com.netease.nimlib.sdk.v2.chatroom.V2NIMChatroomListener.onChatroomMemberExit | ( | String | accountId | ) |
聊天室成员离开
| accountId | 聊天室成员id |
| void com.netease.nimlib.sdk.v2.chatroom.V2NIMChatroomListener.onChatroomMemberInfoUpdated | ( | V2NIMChatroomMember | member | ) |
成员信息更新
| void com.netease.nimlib.sdk.v2.chatroom.V2NIMChatroomListener.onChatroomMemberRoleUpdated | ( | V2NIMChatroomMemberRole | previousRole, |
| V2NIMChatroomMember | member | ||
| ) |
成员角色更新
| void com.netease.nimlib.sdk.v2.chatroom.V2NIMChatroomListener.onChatroomTagsUpdated | ( | List< String > | tags | ) |
更新角色标签
| tags |
| void com.netease.nimlib.sdk.v2.chatroom.V2NIMChatroomListener.onMessageRevokedNotification | ( | String | messageClientId, |
| long | messageTime | ||
| ) |
消息撤回回调
| messageClientId | |
| messageTime |
| void com.netease.nimlib.sdk.v2.chatroom.V2NIMChatroomListener.onReceiveMessages | ( | List< V2NIMChatroomMessage > | messages | ) |
收到新消息
| messages | 新消息 |
| void com.netease.nimlib.sdk.v2.chatroom.V2NIMChatroomListener.onSelfChatBannedUpdated | ( | boolean | chatBanned | ) |
自己的禁言状态变更
| chatBanned |
| void com.netease.nimlib.sdk.v2.chatroom.V2NIMChatroomListener.onSelfTempChatBannedUpdated | ( | boolean | tempChatBanned, |
| long | tempChatBannedDuration | ||
| ) |
自己的临时禁言状态变更
| void com.netease.nimlib.sdk.v2.chatroom.V2NIMChatroomListener.onSendMessage | ( | V2NIMChatroomMessage | message | ) |
本端发送消息状态回调 来源: 发送消息
| message | 发送的消息 |
1.8.11