onRecorderCancelled property

void Function()? onRecorderCancelled
getter/setter pair

Recording cancellation notification.

Available since: 1.0.0 Description: When the developer calls cancelRecord and the SDK stops recording and deletes the recording file, this notification will be called back. Use case: Used by developers to update the UI. Related APIs: The notification will be called back after cancelRecord is called. Caution: None.

Implementation

static void Function()? onRecorderCancelled;