Factory

object Factory(source)

Functions

Link copied to clipboard
fun create(channelId: String, categoryId: String? = null, sort: Int? = null, pageSize: Int? = null, time: Long? = null): GetThreadListApi

构造 帖子列表 请求。

Inherited functions

Link copied to clipboard
inline fun GetThreadListApi.Factory.createFlow(channelId: String, categoryId: String? = null, sort: Int? = null, pageSize: Int? = null, crossinline block: suspend GetThreadListApi.Factory.(time: Long?) -> ThreadListData): Flow<ThreadListData>

批次量的通过 GetThreadListApi 查询所有结果。

Link copied to clipboard
inline fun GetThreadListApi.Factory.createItemFlow(channelId: String, categoryId: String? = null, sort: Int? = null, pageSize: Int? = null, crossinline block: suspend GetThreadListApi.Factory.(time: Long?) -> ThreadListData): Flow<ThreadView>

批次量的通过 GetThreadListApi 查询所有结果,返回单个帖子的流。