unloadAll method

FutureOr<int> unloadAll()

@detail api @author zhangyuanyuan.0101 @brief Unloads all audio effect files. @return - 0: Success. - < 0 : Fail. See ByteRTCReturnStatus{@link #ByteRTCReturnStatus} for more details. @note After calling this method, regarding the current mixing state, if setEventHandler:{@link #ByteRTCAudioEffectPlayer#setEventHandler} is set, you will receive the onAudioEffectPlayerStateChanged callback.

Implementation

FutureOr<int> unloadAll() async {
  return await nativeCall('unloadAll', []);
}