unload method

FutureOr<int> unload(
  1. int effectId
)

@detail api @brief Unloads the specified audio effect file. @param effectId Audio effect ID @return - 0: Success. - < 0 : Fail. See ReturnStatus{@link #ReturnStatus} for more details. @note Call this API after start{@link #IAudioEffectPlayer#start} or preload{@link #IAudioEffectPlayer#preload}.

Implementation

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