NIMSDK-AOS  9.16.0
Public 成员函数 | 所有成员列表
com.netease.nimlib.sdk.qchat.param.QChatSearchChannelByPageParam类 参考

检索频道的接口入参 更多...

Public 成员函数

 QChatSearchChannelByPageParam (@NonNull String keyword, boolean asc)
 构造函数 更多...
 
 QChatSearchChannelByPageParam (@NonNull String keyword, boolean asc, @Nullable Long startTime, @Nullable Long endTime, @Nullable Integer limit, @Nullable Long serverId)
 构造函数 更多...
 
 QChatSearchChannelByPageParam (@NonNull String keyword, boolean asc, @Nullable Long startTime, @Nullable Long endTime, @Nullable Integer limit, @Nullable Long serverId, @Nullable String cursor)
 构造函数 更多...
 
 QChatSearchChannelByPageParam (@NonNull String keyword, boolean asc, @Nullable Long startTime, @Nullable Long endTime, @Nullable Integer limit, @Nullable Long serverId, QChatChannelSearchSortEnum sort, @Nullable String cursor)
 构造函数 更多...
 
String getKeyword ()
 获取检索关键字 更多...
 
boolean isAsc ()
 是否是正序 更多...
 
Long getStartTime ()
 获取查询时间范围的开始时间 更多...
 
void setStartTime (@Nullable Long startTime)
 设置查询时间范围的开始时间 更多...
 
Long getEndTime ()
 获取查询时间范围的结束时间 更多...
 
void setEndTime (@Nullable Long endTime)
 设置查询时间范围的结束时间 更多...
 
Integer getLimit ()
 获取检索返回的最大记录数 更多...
 
void setLimit (@Nullable Integer limit)
 设置检索返回的最大记录数 更多...
 
Long getServerId ()
 获取服务器类型 更多...
 
void setServerId (@Nullable Long serverId)
 设置服务器类型 更多...
 
QChatChannelSearchSortEnum getSort ()
 获取排序条件 更多...
 
void setSort (QChatChannelSearchSortEnum sort)
 设置排序条件 更多...
 
String getCursor ()
 获取查询游标 更多...
 
void setCursor (String cursor)
 设置查询游标,下次查询的起始位置,第一页设置为null,查询下一页是传入上一页返回的cursor 更多...
 
boolean isValid ()
 是否合法 更多...
 
String toString ()
 

详细描述

检索频道的接口入参

在文件 QChatSearchChannelByPageParam.java11 行定义.

构造及析构函数说明

◆ QChatSearchChannelByPageParam() [1/4]

com.netease.nimlib.sdk.qchat.param.QChatSearchChannelByPageParam.QChatSearchChannelByPageParam ( @NonNull String  keyword,
boolean  asc 
)

构造函数

参数
keyword检索关键字,目标检索服务器名称
asc排序规则 true:正序;false:反序

在文件 QChatSearchChannelByPageParam.java64 行定义.

◆ QChatSearchChannelByPageParam() [2/4]

com.netease.nimlib.sdk.qchat.param.QChatSearchChannelByPageParam.QChatSearchChannelByPageParam ( @NonNull String  keyword,
boolean  asc,
@Nullable Long  startTime,
@Nullable Long  endTime,
@Nullable Integer  limit,
@Nullable Long  serverId 
)

构造函数

参数
keyword检索关键字,目标检索服务器名称
asc排序规则 true:正序;false:反序
startTime查询时间范围的开始时间
endTime查询时间范围的结束时间,要求比开始时间大
limit检索返回的最大记录数,最大和默认都是100
serverId服务器类型

在文件 QChatSearchChannelByPageParam.java78 行定义.

◆ QChatSearchChannelByPageParam() [3/4]

com.netease.nimlib.sdk.qchat.param.QChatSearchChannelByPageParam.QChatSearchChannelByPageParam ( @NonNull String  keyword,
boolean  asc,
@Nullable Long  startTime,
@Nullable Long  endTime,
@Nullable Integer  limit,
@Nullable Long  serverId,
@Nullable String  cursor 
)

构造函数

参数
keyword检索关键字,目标检索服务器名称
asc排序规则 true:正序;false:反序
startTime查询时间范围的开始时间
endTime查询时间范围的结束时间,要求比开始时间大
limit检索返回的最大记录数,最大和默认都是100
serverId服务器类型
cursor查询游标,下次查询的起始位置,第一页设置为null,查询下一页是传入上一页返回的cursor

在文件 QChatSearchChannelByPageParam.java99 行定义.

◆ QChatSearchChannelByPageParam() [4/4]

com.netease.nimlib.sdk.qchat.param.QChatSearchChannelByPageParam.QChatSearchChannelByPageParam ( @NonNull String  keyword,
boolean  asc,
@Nullable Long  startTime,
@Nullable Long  endTime,
@Nullable Integer  limit,
@Nullable Long  serverId,
QChatChannelSearchSortEnum  sort,
@Nullable String  cursor 
)

构造函数

参数
keyword检索关键字,目标检索服务器名称
asc排序规则 true:正序;false:反序
startTime查询时间范围的开始时间
endTime查询时间范围的结束时间,要求比开始时间大
limit检索返回的最大记录数,最大和默认都是100
serverId服务器类型
sort排序条件 QChatChannelSearchSortEnum
cursor查询游标,下次查询的起始位置,第一页设置为null,查询下一页是传入上一页返回的cursor

在文件 QChatSearchChannelByPageParam.java121 行定义.

成员函数说明

◆ getCursor()

String com.netease.nimlib.sdk.qchat.param.QChatSearchChannelByPageParam.getCursor ( )

获取查询游标

返回

在文件 QChatSearchChannelByPageParam.java231 行定义.

◆ getEndTime()

Long com.netease.nimlib.sdk.qchat.param.QChatSearchChannelByPageParam.getEndTime ( )

获取查询时间范围的结束时间

在文件 QChatSearchChannelByPageParam.java167 行定义.

◆ getKeyword()

String com.netease.nimlib.sdk.qchat.param.QChatSearchChannelByPageParam.getKeyword ( )

获取检索关键字

在文件 QChatSearchChannelByPageParam.java136 行定义.

◆ getLimit()

Integer com.netease.nimlib.sdk.qchat.param.QChatSearchChannelByPageParam.getLimit ( )

获取检索返回的最大记录数

在文件 QChatSearchChannelByPageParam.java183 行定义.

◆ getServerId()

Long com.netease.nimlib.sdk.qchat.param.QChatSearchChannelByPageParam.getServerId ( )

获取服务器类型

在文件 QChatSearchChannelByPageParam.java199 行定义.

◆ getSort()

QChatChannelSearchSortEnum com.netease.nimlib.sdk.qchat.param.QChatSearchChannelByPageParam.getSort ( )

获取排序条件

返回

在文件 QChatSearchChannelByPageParam.java215 行定义.

◆ getStartTime()

Long com.netease.nimlib.sdk.qchat.param.QChatSearchChannelByPageParam.getStartTime ( )

获取查询时间范围的开始时间

在文件 QChatSearchChannelByPageParam.java151 行定义.

◆ isAsc()

boolean com.netease.nimlib.sdk.qchat.param.QChatSearchChannelByPageParam.isAsc ( )

是否是正序

在文件 QChatSearchChannelByPageParam.java143 行定义.

◆ isValid()

boolean com.netease.nimlib.sdk.qchat.param.QChatSearchChannelByPageParam.isValid ( )

是否合法

在文件 QChatSearchChannelByPageParam.java246 行定义.

◆ setCursor()

void com.netease.nimlib.sdk.qchat.param.QChatSearchChannelByPageParam.setCursor ( String  cursor)

设置查询游标,下次查询的起始位置,第一页设置为null,查询下一页是传入上一页返回的cursor

参数
cursor

在文件 QChatSearchChannelByPageParam.java239 行定义.

◆ setEndTime()

void com.netease.nimlib.sdk.qchat.param.QChatSearchChannelByPageParam.setEndTime ( @Nullable Long  endTime)

设置查询时间范围的结束时间

参数
endTime查询时间范围的结束时间

在文件 QChatSearchChannelByPageParam.java175 行定义.

◆ setLimit()

void com.netease.nimlib.sdk.qchat.param.QChatSearchChannelByPageParam.setLimit ( @Nullable Integer  limit)

设置检索返回的最大记录数

参数
limit检索返回的最大记录数

在文件 QChatSearchChannelByPageParam.java191 行定义.

◆ setServerId()

void com.netease.nimlib.sdk.qchat.param.QChatSearchChannelByPageParam.setServerId ( @Nullable Long  serverId)

设置服务器类型

参数
serverId服务器类型

在文件 QChatSearchChannelByPageParam.java207 行定义.

◆ setSort()

void com.netease.nimlib.sdk.qchat.param.QChatSearchChannelByPageParam.setSort ( QChatChannelSearchSortEnum  sort)

设置排序条件

参数
sort

在文件 QChatSearchChannelByPageParam.java223 行定义.

◆ setStartTime()

void com.netease.nimlib.sdk.qchat.param.QChatSearchChannelByPageParam.setStartTime ( @Nullable Long  startTime)

设置查询时间范围的开始时间

参数
startTime查询时间范围的开始时间

在文件 QChatSearchChannelByPageParam.java159 行定义.

◆ toString()

String com.netease.nimlib.sdk.qchat.param.QChatSearchChannelByPageParam.toString ( )

在文件 QChatSearchChannelByPageParam.java266 行定义.


该类的文档由以下文件生成: