Skip to main content

ReplayStopCallback

Electron APIs / recorder / ReplayStopCallback

type ReplayStopCallback = (args: RecordEventArgs) => void;

Callback triggered when a replay recording is stopped.

Parameters

ParameterTypeDescription
argsRecordEventArgsDetails and metadata related to the stopped replay recording session.

Returns

void

See

RecordEventArgs

Example

const onReplayStop: ReplayStopCallback = (args) => {
console.log(`Replay stopped. Duration: ${args.duration}ms`);
};