unloadEffect abstract method
Releases a specific preloaded audio effect file from memory.
After loading the audio effect file into memory using preloadEffect, call this method to release the audio effect file.
soundIdThe ID of the specified audio effect file. Each audio effect file has a unique ID.
Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly. See Error Codes for details and resolution suggestions.
Implementation
Future<void> unloadEffect(int soundId);