onRecordingStateUpdate property
FutureOr<void> Function(dynamic videoSource, RecordingState state, RecordingErrorCode errorCode, RecordingInfo info)?
onRecordingStateUpdate
getter/setter pair
@detail callback
@author wangzhanqiang
@brief Get a callback of the local recording status.
The callback is triggered by either startFileRecording{@link #RTCEngine#startFileRecording} or stopFileRecording{@link #RTCEngine#stopFileRecording}.
@param videoSource Reserved parameter
@param state Recording status. See RecordingState{@link #RecordingState}
@param errorCode Recording error code. See RecordingErrorCode{@link #RecordingErrorCode}
@param info Recording file details. See RecordingInfo{@link #RecordingInfo}
Implementation
FutureOr<void> Function(dynamic videoSource, RecordingState state,
RecordingErrorCode errorCode, RecordingInfo info)? onRecordingStateUpdate;