StopCallback
Electron APIs / recorder / StopCallback
type StopCallback = (args: RecordStopEventArgs) => void;
Callback invoked when a recording session stops.
Parameters
Parameter | Type | Description |
---|---|---|
args | RecordStopEventArgs | The arguments containing metadata and results about the stopped recording session. |
Returns
void
See
Example
const handleStop: StopCallback = (args) => {
console.log("Recording stopped. File saved to:", args.filePath);
};