ISendMessageCallback

interface ISendMessageCallback

发送消息回调 包括:文本消息,自定义媒体资源服务器的媒体消息,图文消息

Functions

onAttached
Link copied to clipboard
abstract fun onAttached(message: KIMCoreMessage?)

触发时机:消息已存储数据库时 适用场景:当发送一条消息,业务方需要立即展示出来的时候,可以用这里的回调参数

onError
Link copied to clipboard
abstract fun onError(message: KIMCoreMessage?, errorCode: ErrorCode)

触发时机:消息发送失败时

onSuss
Link copied to clipboard
abstract fun onSuss(message: KIMCoreMessage?)

触发时机:消息发送成功时

Inheritors

ISendMediaMessageCallback
Link copied to clipboard