onLocalRecordBegin property
final
Local Recording Started
When you call startLocalRecording
to start local recording,
the SDK returns this callback to notify you whether recording
has started successfully.
- Parameters:
- errCode(int):
- Status of the recording:
0
: Successful.-1
: Failed.-2
: Unsupported format.-6
: Recording has been started. Stop recording first.-7
: Recording file already exists and needs to be deleted.-8
: Recording directory does not have write permission. Please check the directory permission.
- Status of the recording:
- storagePath(String):
- Storage path of the recording file.
- errCode(int):
Implementation
final void Function(int errCode, String storagePath)? onLocalRecordBegin;