ElectronApp.on('continue-activity-error') method
ElectronApp › on(‘continue-activity-error’)
Unofficial
Registers a listener for thecontinue-activity-error event.Emitted during Handoff when an activity from a different device fails to be resumed. macOS only.
Signature:
on($event: "continue-activity-error", listener: ($event: ElectronEvent, type: string, error: string) => void): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| $event | "continue-activity-error" | |
| listener | ($event: ElectronEvent, type: string, error: string) => void | The event handler. |
Returns: this — This ElectronApp instance.