ElectronApp.on('activity-was-continued') method
ElectronApp › on(‘activity-was-continued’)
Unofficial
Registers a listener for theactivity-was-continued event.Emitted during Handoff after an activity from this device was successfully resumed on another one. macOS only.
Signature:
on(event: "activity-was-continued", listener: (event: ElectronEvent, type: string, userInfo: unknown) => void): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| event | "activity-was-continued" | The event name. |
| listener | (event: ElectronEvent, type: string, userInfo: unknown) => void | The event handler. |
Returns: this — This ElectronApp instance.