stopAll method
@detail api @brief 停止播放所有音效文件。 @return - 0: 调用成功。 - < 0 : 调用失败。查看 ByteRTCReturnStatus{@link #ByteRTCReturnStatus} 获得更多错误说明 @note - 调用 start:filePath:config:{@link #ByteRTCAudioEffectPlayer#start:filePath:config} 方法开始播放音效文件后,可以调用本方法停止播放所有音效文件。 - 调用本方法停止播放所有音效文件后,该音效文件会被自动卸载。
Implementation
FutureOr<int> stopAll() async {
return await nativeCall('stopAll', []);
}