destroy abstract method

Future<void> destroy()

Releases the RtcEngine This method releases all resources used by the Agora SDK. Use this method for apps in which users occasionally make voice or video calls. When users do not make calls, you can free up resources for other operations. If you want to create a new RtcEngine instance after destroying the current one, ensure that you wait till the destroy method execution to complete.

Implementation

Future<void> destroy();