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

聊天室禁言通知附件 更多...

类 com.netease.nimlib.sdk.v2.chatroom.attachment.V2NIMChatroomChatBannedNotificationAttachment 继承关系图:
com.netease.nimlib.sdk.v2.chatroom.attachment.V2NIMChatroomNotificationAttachment com.netease.nimlib.sdk.v2.message.attachment.V2NIMMessageAttachment

Public 成员函数

boolean isChatBanned ()
 获取是否禁言 更多...
 
boolean isTempChatBanned ()
 获取是否临时禁言 更多...
 
long getTempChatBannedDuration ()
 获取临时禁言的时长,单位:秒 更多...
 
- Public 成员函数 继承自 com.netease.nimlib.sdk.v2.chatroom.attachment.V2NIMChatroomNotificationAttachment
V2NIMChatroomMessageNotificationType getType ()
 获取通知类型 更多...
 
List< String > getTargetIds ()
 获取被操作的成员账号列表 更多...
 
List< String > getTargetNicks ()
 获取被操作成员的昵称列表 更多...
 
String getTargetTag ()
 获取被操作标签 更多...
 
String getOperatorId ()
 获取操作者 更多...
 
String getOperatorNick ()
 获取操作者昵称 更多...
 
String getNotificationExtension ()
 获取扩展字段 更多...
 
List< String > getTags ()
 获取更新后的标签,通知类型: 325存在这个字段 更多...
 
- Public 成员函数 继承自 com.netease.nimlib.sdk.v2.message.attachment.V2NIMMessageAttachment
String getRaw ()
 

详细描述

聊天室禁言通知附件

在文件 V2NIMChatroomChatBannedNotificationAttachment.java6 行定义.

成员函数说明

long com.netease.nimlib.sdk.v2.chatroom.attachment.V2NIMChatroomChatBannedNotificationAttachment.getTempChatBannedDuration ( )

获取临时禁言的时长,单位:秒

返回
临时禁言的时长,单位:秒
boolean com.netease.nimlib.sdk.v2.chatroom.attachment.V2NIMChatroomChatBannedNotificationAttachment.isChatBanned ( )

获取是否禁言

返回
是否禁言
boolean com.netease.nimlib.sdk.v2.chatroom.attachment.V2NIMChatroomChatBannedNotificationAttachment.isTempChatBanned ( )

获取是否临时禁言

返回
是否临时禁言

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