KIMISdkKitService

interface KIMISdkKitService : KIMISdkLinkupService

Types

Link copied to clipboard
object ChatType
Link copied to clipboard
object Companion
Link copied to clipboard
object FuncType

Functions

Link copied to clipboard
abstract fun getChatTagCount(chatId: String): LiveData<Int>

根据ChatID获取会话的标签数量

Link copied to clipboard
abstract fun getMessageListBundle(chatId: String, chatName: String?, messageSeq: Long?): Bundle

获取消息列表的argument

Link copied to clipboard
abstract fun getUserInfo(userId: String, callback: IResultCallback<User?>)

获取用户信息

Link copied to clipboard
abstract fun getWpsUserId(): String

获取用户wpsUserId

Link copied to clipboard
abstract fun gotoSelectMessage(context: Context, chatId: String, chatName: String?, selectMessages: Array<KIMCoreMessage>?, kimMessageSelectListener: KIMMessageSelectListener?)

跳转选择消息页面

Link copied to clipboard
abstract fun gotoShareMessage(context: Context, chatId: String, chatName: String?, syncBtnText: String?, kimMessageShareListener: KIMMessageShareListener?)

跳转已存在群的分享页

Link copied to clipboard
abstract fun isMessageSupportForward(kimCoreMessage: KIMCoreMessage): Boolean

消息是否支持转发

Link copied to clipboard
abstract fun notifyMeFragmentEvent(fromPage: Int, event: Lifecycle.Event)

我的页面通信

Link copied to clipboard
abstract fun openChat(context: Context, chatId: String, chatName: String = "")

打开指定会话

abstract fun openChat(context: Context, chatId: String, chatName: String, bundle: Bundle)
abstract fun openChat(context: Context, chatId: String, chatName: String = "", seq: Long?)
abstract fun openChat(context: Context, chatId: String, chatName: String, seq: Long?, launchMode: LaunchMode?)

打开指定会话并跳转到指定位置

Link copied to clipboard
abstract fun openChatTagManage(context: Context, chatId: String)

打开会话标签管理页

Link copied to clipboard
abstract fun openMessageDetail(context: Context?, chatId: String, chatName: String, messageID: String, messageType: String, sourceType: String?, messageExt: String?)

打开消息详情 目前消息详情有三种情况

Link copied to clipboard
abstract fun openNewChat(context: Context, chatId: String, chatName: String = "", seq: Long?)

重新打开一个会话页面并调整到指定位置

Link copied to clipboard
abstract fun setChatSelected(chatId: String)

设置指定会话为被选中状态