ReplayStopCallback
Electron APIs / recorder / ReplayStopCallback
type ReplayStopCallback = (args: RecordEventArgs) => void;
Callback triggered when a replay recording is stopped.
Parameters
Parameter | Type | Description |
---|---|---|
args | RecordEventArgs | Details and metadata related to the stopped replay recording session. |
Returns
void
See
Example
const onReplayStop: ReplayStopCallback = (args) => {
console.log(`Replay stopped. Duration: ${args.duration}ms`);
};