NIMSDK-AOS  9.16.0
QChatGetByPageWithCursorResult.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.qchat.result;
2 
7  protected String cursor;
8 
10  super();
11  this.cursor = null;
12  }
13 
14  protected QChatGetByPageWithCursorResult(String cursor) {
15  super();
16  this.cursor = cursor;
17  }
18 
19  protected QChatGetByPageWithCursorResult(boolean hasMore, long nextTimeTag, String cursor) {
20  super(hasMore, nextTimeTag);
21  this.cursor = cursor;
22  }
23 
28  public String getCursor() {
29  return cursor;
30  }
31 
36  public void setCursor(String cursor) {
37  this.cursor = cursor;
38  }
39 
40  @Override
41  public String toString() {
42  return "QChatGetByPageWithCursorResult{" +
43  "hasMore=" + hasMore +
44  ", nextTimeTag=" + nextTimeTag +
45  ", cursor='" + cursor + '\'' +
46  '}';
47  }
48 }
final boolean hasMore
表示是否还有下一页
QChatGetByPageWithCursorResult(boolean hasMore, long nextTimeTag, String cursor)
String cursor
可选:查询游标,下次查询的起始位置
final long nextTimeTag
下一次翻页时的起始时间戳
void setCursor(String cursor)
设置查询游标,下次查询的起始位置
String getCursor()
获取查询游标,下次查询的起始位置