stop method
@detail api @brief Stops the playback of audio effect files. @param effectId Audio effect ID @return - 0: Success. - < 0 : Fail. See ByteRTCReturnStatus{@link #ByteRTCReturnStatus} for more details. @note - After calling the start:filePath:config:{@link #ByteRTCAudioEffectPlayer#start:filePath:config} API to start playing the audio effect file, you can call this API to stop playing the audio effect file. - After calling this API to stop playing an audio effect file, the audio effect file will be unloaded automatically.
Implementation
FutureOr<int> stop(int effectId) async {
return await nativeCall('stop:', [effectId]);
}