KIMISdkSearchService

interface KIMISdkSearchService : KIMISdkLinkupService

Functions

Link copied to clipboard
abstract fun getSearchTabOrderList(): List<<Error class: unknown class>>

获取当前排序后的搜索分类列表

Link copied to clipboard
abstract fun searchChatMediaMsg(chatID: String, sendID: String?, count: Int, offset: Long?, timeFrom: Long, timeTo: Long, isAsc: Boolean?): <Error class: unknown class>?

分页历史消息搜索图片和视频 -- 图片以及视频预览使用

Link copied to clipboard
abstract fun searchCloudFile(keyWord: String, offset: Long, limit: Int): LiveData<LiveDataResult<<Error class: unknown class>>>

搜索跟本人相关的云文档(与聊天无关) -- 最近云文档页面需要使用

Link copied to clipboard
abstract fun searchContacts(chatType: Int, keyWord: String, count: Int, offset: Long): LiveData<LiveDataResult<<Error class: unknown class>>>

搜索联系人 -- atSomeOne页面使用 后期整体挪入搜索组件中

Link copied to clipboard
abstract fun searchContactsV1(chatType: Int, keyWord: String, count: Int, offset: Long): LiveData<LiveDataResult<<Error class: unknown class>>>
Link copied to clipboard
abstract fun searchFileInChat(chatID: String, senderID: String?, searchKey: String, count: Int, offset: Long, timeFrom: Long, timeTo: Long): LiveData<LiveDataResult<<Error class: unknown class>>>

分页搜索聊天中的文件 --- 群书签使用

Link copied to clipboard
abstract fun toSearchApps(activity: Activity?)

跳转搜索应用页面

Link copied to clipboard
abstract fun toSearchCollection(activity: Activity, chatId: String)

跳转到搜索收藏(收藏就是一个特殊的会话)

Link copied to clipboard
abstract fun toSearchInChat(activity: Activity?, chatId: String?, chatName: String?, chatType: Int)

跳转聊天页面的搜索主页

Link copied to clipboard
abstract fun toSearchInMain(activity: Activity?)

跳转搜索主页

Link copied to clipboard
abstract fun updateSearchTabOrder(tabOrderList: List<<Error class: unknown class>>, inMergeOrderList: List<<Error class: unknown class>>? = null)

按列表顺序更新搜索分类显示位置,更新后 SDK 会缓存该列表顺序,优先使用此列表位置显示搜索分类位置 注意:这里只影响排序,若设置的list内只包含部分搜索分类,不包含的搜索分类只会清除其排序设置