Skip to content
v1
文档/HarmonyOS SDK/会话

移除会话监听 ​

接口 ​

ts
removeConversationListener(listener?: ConversationListener | string): void

代码示例 ​

ts
IMSdk.getInstance().getConversationManager().removeConversationListener('conversation_listener')