Displays an alert message when the recording has stopped, indicating the reason.
Options for showing the recording stopped alert.
Optional
A promise that resolves once the alert is shown, if applicable.
const options = { state: "stop", reason: "The session ended.", showAlert: (alert) => console.log(alert.message),};stoppedRecording(options);// Output: "The recording has stopped - The session ended." Copy
const options = { state: "stop", reason: "The session ended.", showAlert: (alert) => console.log(alert.message),};stoppedRecording(options);// Output: "The recording has stopped - The session ended."
Displays an alert message when the recording has stopped, indicating the reason.