NIMSDK-AOS  9.16.0
QChatUpdateChannelCategoryBlackWhiteMembersParam.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.qchat.param;
2 
3 import androidx.annotation.NonNull;
6 import java.util.List;
7 
12 
16  @NonNull
17  private final Long serverId;
21  @NonNull
22  private final Long categoryId;
26  @NonNull
27  private final QChatChannelBlackWhiteType type;
31  @NonNull
32  private final QChatChannelBlackWhiteOperateType operateType;
36  @NonNull
37  private final List<String> toAccids;
38 
47  public QChatUpdateChannelCategoryBlackWhiteMembersParam(@NonNull Long serverId, @NonNull Long categoryId, @NonNull QChatChannelBlackWhiteType type, @NonNull QChatChannelBlackWhiteOperateType operateType, @NonNull List<String> toAccids) {
48  this.serverId = serverId;
49  this.categoryId = categoryId;
50  this.type = type;
51  this.operateType = operateType;
52  this.toAccids = toAccids;
53  }
54 
59  @NonNull
60  public Long getServerId() {
61  return serverId;
62  }
63 
68  @NonNull
69  public Long getCategoryId() {
70  return categoryId;
71  }
72 
77  @NonNull
79  return type;
80  }
81 
86  @NonNull
88  return operateType;
89  }
90 
95  @NonNull
96  public List<String> getToAccids() {
97  return toAccids;
98  }
99 }
List< String > getToAccids()
获取账户accid列表:添加或者移除到黑白名单的accid列表
QChatUpdateChannelCategoryBlackWhiteMembersParam(@NonNull Long serverId, @NonNull Long categoryId, @NonNull QChatChannelBlackWhiteType type, @NonNull QChatChannelBlackWhiteOperateType operateType, @NonNull List< String > toAccids)