onLocalRecordComplete property
final
Local Recording Stopped
When you call stopLocalRecording
to stop local recording,
the SDK returns this callback to notify you of the recording result.
- Parameters:
- errCode(int):
- Status of the recording:
0
: Successful.-1
: Failed.-2
: Switching resolution or horizontal and vertical screen causes the recording to stop.-3
: Recording duration is too short or no video or audio data is received. Check the recording duration or whether audio or video capture is enabled.
- Status of the recording:
- storagePath(String):
- Storage path of the recording file.
- errCode(int):
Implementation
final void Function(int errCode, String storagePath)? onLocalRecordComplete;