stopAudioDeviceRecordAndPlayTest method

FutureOr<int> stopAudioDeviceRecordAndPlayTest()

@detail api @brief Call this API to stop recording in the test and start to play the recording in 30 s after calling startAudioDeviceRecordTest{@link #IRTCAudioDeviceManager#startAudioDeviceRecordTest}. @return Result
- 0: Success - < 0: Failure @note After calling this API, the recording starts playing during which you can call stopAudioDevicePlayTest{@link #IRTCAudioDeviceManager#stopAudioDevicePlayTest} to stop playing.

Implementation

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