unInitSDK method

Future<V2TimCallback> unInitSDK()

反初始化 SDK

Implementation

Future<V2TimCallback> unInitSDK() async {
  await TencentCloudChatSdkPlatform.instance.removeAdvancedMsgListener();
  await TencentCloudChatSdkPlatform.instance.removeConversationListener();
  await TencentCloudChatSdkPlatform.instance.removeFriendListener();
  await TencentCloudChatSdkPlatform.instance.removeGroupListener();
  await TencentCloudChatSdkPlatform.instance.removeSimpleMsgListener();
  await TencentCloudChatSdkPlatform.instance.removeSignalingListener();
  return TencentCloudChatSdkPlatform.instance.unInitSDK();
}