onRecorderFailed property

void Function(int errorCode)? onRecorderFailed
getter/setter pair

Recording failure notification.

Available since: 1.0.0 Description: When recording starts or an exception occurs during recording and the recording fails, this callback will be used to notify you. Use case: Used by developers to update the UI. It is recommended that developers listen to this callback and provide necessary prompts to users. Caution: None.

  • errorCode Error code

Implementation

static void Function(int errorCode)? onRecorderFailed;