stopFileRecording method

FutureOr<int> stopFileRecording()

@detail api @hiddensdk(audiosdk) @author wangzhanqiang @brief Stops local recording @return - 0: Success. - < 0 : Fail. See ByteRTCReturnStatus{@link #ByteRTCReturnStatus} for more details @note - After calling startFileRecording:type:{@link #ByteRTCEngine#startFileRecording:type} to start local recording, you must call this method to stop recording. - The recording result will be called back through rtcEngine:onRecordingStateUpdate:state:error_code:recording_info:{@link #ByteRTCEngineDelegate#rtcEngine:onRecordingStateUpdate:state:error_code:recording_info}.

Implementation

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