NIMSDK-AOS  9.19.0
QChatGetServerMembersByPageResult.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.qchat.result;
2 
4 import java.io.Serializable;
5 import java.util.List;
6 
7 public class QChatGetServerMembersByPageResult extends QChatGetByPageResult implements Serializable {
8 
9  /**
10  * 查询到的频道成员
11  */
12  private final List<QChatServerMember> serverMembers;
13 
14  public QChatGetServerMembersByPageResult(List<QChatServerMember> serverMembers) {
15  super();
16  this.serverMembers = serverMembers;
17  }
18 
19  public QChatGetServerMembersByPageResult(boolean hasMore, long nextTimeTag, List<QChatServerMember> serverMembers) {
20  super(hasMore, nextTimeTag);
21  this.serverMembers = serverMembers;
22  }
23 
24  /**
25  * 获取查询到的频道成员
26  * @return
27  */
28  public List<QChatServerMember> getServerMembers() {
29  return serverMembers;
30  }
31 
32  @Override
33  public String toString() {
34  return "QChatGetServerMembersByPageResult{" +
35  "hasMore=" + hasMore +
36  ", nextTimeTag=" + nextTimeTag +
37  ", serverMembers=" + serverMembers +
38  '}';
39  }
40 }
final boolean hasMore
表示是否还有下一页
List< QChatServerMember > getServerMembers()
获取查询到的频道成员
final long nextTimeTag
下一次翻页时的起始时间戳
QChatGetServerMembersByPageResult(boolean hasMore, long nextTimeTag, List< QChatServerMember > serverMembers)