stopAudioDeviceRecordAndPlayTest method
@hidden(iOS)
@detail api
@author dixing
@brief Call this API to stop recording in the test and start to play the recording in 30 s after calling startAudioDeviceRecordTest:{@link #ByteRTCAudioDeviceManager#startAudioDeviceRecordTest}.
@return result
- 0: success
- < 0: failure
@note
- This method do rely on rtcEngine, this method only will be Effective when ByteRTCAudioDeviceManager created by getAudioDeviceManager{@link #ByteRTCEngine#getAudioDeviceManager}
- After calling this API, the recording starts playing during which you can call stopAudioDevicePlayTest{@link #ByteRTCAudioDeviceManager#stopAudioDevicePlayTest} to stop playing.
Implementation
FutureOr<int> stopAudioDeviceRecordAndPlayTest() async {
return await nativeCall('stopAudioDeviceRecordAndPlayTest', []);
}