NIMSDK-AOS  10.9.50
QChatKickServerMembersParam.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.qchat.param;
2 
3 import androidx.annotation.NonNull;
4 
5 import java.util.List;
6 
7 /**
8  * "踢出服务器成员"接口入参
9  */
11 
12  /**
13  * 服务器Id,必填
14  */
15  @NonNull
16  private final Long serverId;
17  /**
18  * 被踢用户的accid列表,必填
19  */
20  @NonNull
21  private final List<String> accids;
22 
23  /**
24  *
25  * @param serverId 服务器Id,必填
26  * @param accids 被踢用户的accid列表,必填
27  */
28  public QChatKickServerMembersParam(long serverId, @NonNull List<String> accids) {
29  this.serverId = serverId;
30  this.accids = accids;
31  }
32 
33  /**
34  * 获取服务器Id
35  * @return
36  */
37  @NonNull
38  public Long getServerId() {
39  return serverId;
40  }
41 
42  /**
43  * 获取被踢用户的accid列表
44  * @return
45  */
46  @NonNull
47  public List<String> getAccids() {
48  return accids;
49  }
50 }
QChatKickServerMembersParam(long serverId,@NonNull List< String > accids)