NIMSDK-AOS  10.9.76
Public 成员函数 | 所有成员列表
com.netease.nimlib.sdk.v2.chatroom.V2NIMChatroomListener接口 参考

聊天室监听回调 更多...

类 com.netease.nimlib.sdk.v2.chatroom.V2NIMChatroomListener 继承关系图:

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.java14 行定义.

成员函数说明

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发送的消息

该接口的文档由以下文件生成: