Displays an alert message when the recording has stopped, indicating the reason.
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."
Options for showing the recording stopped alert.
A promise that resolves once the alert is shown, if applicable.
Displays an alert message when the recording has stopped, indicating the reason.
Example