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