NIMSDK-AOS
10.7.0
plugins
qchat
src
main
java
com
netease
nimlib
sdk
qchat
result
QChatSearchChannelByPageResult.java
浏览该文件的文档.
1
package
com.netease.nimlib.sdk.qchat.result;
2
3
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
model
.
QChatChannel
;
4
import
java.io.Serializable;
5
import
java.util.List;
6
7
public
class
QChatSearchChannelByPageResult
extends
QChatGetByPageWithCursorResult
implements Serializable {
11
private
final
List<QChatChannel> channels;
12
13
public
QChatSearchChannelByPageResult
(String
cursor
, List<QChatChannel> channels) {
14
super(cursor);
15
this.channels = channels;
16
}
17
18
public
QChatSearchChannelByPageResult
(
boolean
hasMore
,
long
nextTimeTag
, String
cursor
,
19
List<QChatChannel> channels) {
20
super(hasMore, nextTimeTag, cursor);
21
this.channels = channels;
22
}
23
27
public
List<QChatChannel>
getChannels
() {
28
return
channels;
29
}
30
31
@Override
32
public
String
toString
() {
33
return
"QChatSearchChannelByPageResult{"
+
34
"hasMore="
+
hasMore
+
35
", nextTimeTag="
+
nextTimeTag
+
36
", cursor='"
+
cursor
+
'\''
+
37
", channels="
+ channels +
38
'}'
;
39
}
40
}
com.netease.nimlib.sdk
Definition:
RequestCallback.java:1
com.netease.nimlib.sdk.qchat.result.QChatGetByPageResult.hasMore
final boolean hasMore
表示是否还有下一页
Definition:
QChatGetByPageResult.java:7
com.netease
com.netease.nimlib.sdk.qchat.result.QChatSearchChannelByPageResult.QChatSearchChannelByPageResult
QChatSearchChannelByPageResult(String cursor, List< QChatChannel > channels)
Definition:
QChatSearchChannelByPageResult.java:13
com
com.netease.nimlib.sdk.qchat.result.QChatSearchChannelByPageResult.QChatSearchChannelByPageResult
QChatSearchChannelByPageResult(boolean hasMore, long nextTimeTag, String cursor, List< QChatChannel > channels)
Definition:
QChatSearchChannelByPageResult.java:18
com.netease.nimlib.sdk.qchat.result.QChatGetByPageWithCursorResult.cursor
String cursor
可选:查询游标,下次查询的起始位置
Definition:
QChatGetByPageWithCursorResult.java:7
com.netease.nimlib.sdk.qchat.result.QChatSearchChannelByPageResult.toString
String toString()
Definition:
QChatSearchChannelByPageResult.java:32
com.netease.nimlib.sdk.qchat.result.QChatSearchChannelByPageResult.getChannels
List< QChatChannel > getChannels()
获取查询到的频道
Definition:
QChatSearchChannelByPageResult.java:27
com.netease.nimlib.sdk.qchat.model
Definition:
QChatPushConfig.java:1
com.netease.nimlib.sdk.qchat.result.QChatGetByPageResult.nextTimeTag
final long nextTimeTag
下一次翻页时的起始时间戳
Definition:
QChatGetByPageResult.java:12
com.netease.nimlib.sdk.qchat
com.netease.nimlib.sdk.qchat.result.QChatSearchChannelByPageResult
Definition:
QChatSearchChannelByPageResult.java:7
com.netease.nimlib.sdk.qchat.result.QChatGetByPageWithCursorResult
Definition:
QChatGetByPageWithCursorResult.java:3
com.netease.nimlib.sdk.qchat.model.QChatChannel
频道信息
Definition:
QChatChannel.java:12
com.netease.nimlib
生成于 2024年 十二月 27日 星期五 15:34:08 , 为 NIMSDK-AOS使用
1.8.13