stopAudioDevicePlayTest method
@hidden(iOS)
@detail api
@author dixing
@brief Stop the capture and playback test for local audio devices which is started by calling startAudioDeviceRecordTest:{@link #ByteRTCAudioDeviceManager#startAudioDeviceRecordTest}.
Before the test ends by itself, you can call this API to stop the recording or playing.
@return
- 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}
Implementation
FutureOr<int> stopAudioDevicePlayTest() async {
return await nativeCall('stopAudioDevicePlayTest', []);
}