NIMSDK-AOS  9.19.0
QChatKickOtherClientsResult.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.qchat.result;
2 
3 import androidx.annotation.NonNull;
4 import java.io.Serializable;
5 import java.util.ArrayList;
6 import java.util.List;
7 
8 public class QChatKickOtherClientsResult implements Serializable {
9 
10  /**
11  * 被成功踢掉的客户端的deviceId列表
12  */
13  private final List<String> clientIds;
14 
15  public QChatKickOtherClientsResult(List<String> clientIds) {
16  if (clientIds != null) {
17  this.clientIds = new ArrayList<>(clientIds);
18  } else {
19  this.clientIds = new ArrayList<>(0);
20  }
21  }
22 
23  /**
24  * 获取被成功踢掉的客户端的deviceId列表
25  * @return
26  */
27  @NonNull
28  public List<String> getClientIds() {
29  return clientIds;
30  }
31 
32  @Override
33  public String toString() {
34  return "QChatKickOtherClientsResult{" +
35  "clientIds=" + clientIds +
36  '}';
37  }
38 }
List< String > getClientIds()
获取被成功踢掉的客户端的deviceId列表