StartCallback
Electron APIs / recorder / StartCallback
type StartCallback = (args: RecordEventArgs) => void;
Callback triggered when a recording starts successfully.
Parameters
Parameter | Type | Description |
---|---|---|
args | RecordEventArgs | Metadata and contextual details associated with the start of the recording. |
Returns
void
See
Example
const onStart: StartCallback = (args) => {
console.log("Recording started with ID:", args.sessionId);
};