This commit is contained in:
Your Name
2026-03-11 09:49:47 +08:00
parent 02ae537b4c
commit 38ad60f4bb
290 changed files with 36917 additions and 123 deletions
@@ -0,0 +1,21 @@
import type { func } from '../../type';
export interface IEventCenter {
/**
* Service 添加监听事件
* @param {string} event 事件名
* @param {Function} callback 回调函数
*/
addEvent(event: string, callback: func): void;
/**
* 移除 chatEngine 内部注册的事件回调
*/
removeEvents(): void;
/**
* 解绑 IM SDK 事件
*/
unbindIMEvents(): void;
}