destroySubCloud method
- TRTCCloud cloud
销毁子TRTC实例
不支持:
- web
- MacOS
- Windows
Implementation
Future<void> destroySubCloud(TRTCCloud cloud) {
if (cloud == _trtcCloud) {
print("TRTCCloud : Singleton objects cannot be destroyed through this interface");
return Future<void>.value();
}
return _cloudChannel!.invokeMethod("destroySubCloud", {
"channelName" : cloud.channel!.name,
});
}