ActiveReplay
Electron APIs / recorder / ActiveReplay
Manages an ongoing replay capture session. Provides control over stopping the active replay either immediately or after a timeout.
Example
if (recorder.activeReplay) {
recorder.activeReplay.stop((replay) => {
console.log("Replay complete:", replay.filePath);
});
}
See
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
callback? | public | ReplayCallback | Callback executed once the replay completes. |
timeout? | readonly | number | The current replay timeout in milliseconds, if it has been set. |