1 package com.netease.nimlib.sdk.v2.chatroom.params;
4 import java.io.Serializable;
18 private Integer memberLevel;
22 private String notificationExtension;
32 this.memberRole = memberRole;
33 this.memberLevel = memberLevel;
34 this.notificationExtension = notificationExtension;
58 return notificationExtension;
66 this.memberRole = memberRole;
73 this.memberLevel = memberLevel;
80 this.notificationExtension = notificationExtension;
84 if(memberRole == null ||
91 if (memberLevel != null && memberLevel < 0) {
V2NIM_CHATROOM_MEMBER_ROLE_ANONYMOUS_GUEST
匿名游客
Integer getMemberLevel()
获取设置的成员等级
V2NIMChatroomMemberRole getMemberRole()
获取设置的成员角色
V2NIMChatroomMemberRoleUpdateParams()
V2NIM_CHATROOM_MEMBER_ROLE_VIRTUAL
虚构用户
V2NIM_CHATROOM_MEMBER_ROLE_CREATOR
创建者
V2NIMChatroomMemberRoleUpdateParams(V2NIMChatroomMemberRole memberRole, Integer memberLevel, String notificationExtension)
String getNotificationExtension()
获取设置的通知扩展字段
void setNotificationExtension(String notificationExtension)
设置通知扩展字段
void setMemberLevel(int memberLevel)
设置成员等级
void setMemberRole(V2NIMChatroomMemberRole memberRole)
设置成员角色