destroyRealTimeSequentialDataManager method

Future<void> destroyRealTimeSequentialDataManager(
  1. ZegoRealTimeSequentialDataManager manager
)

Destroy the real time sequential data manager instance

Available: since 2.14.0 Description: Destroy the ZegoRealTimeSequentialDataManager instance object. Use cases: When you no longer need to use the real-time signaling function, you can use this function to destroy the instance object created by the createRealTimeSequentialDataManager function When to call: When you need to the real-time signaling manager object needs to be destroyed Restrictions: After destroy the instance, you need to release the ZegoRealTimeSequentialDataManager instance object you hold by yourself, and don’t call the function of this instance object after the destruction. Caution: None.

  • manager The real time sequential data manager instance to be destroyed.

Implementation

Future<void> destroyRealTimeSequentialDataManager(
    ZegoRealTimeSequentialDataManager manager) async {
  return await ZegoExpressImpl.instance
      .destroyRealTimeSequentialDataManager(manager);
}