IOnUpdateActivityState Type
⚠ OS Compatibility: WIN ❌ | MAC ✔ | LIN ❌ | MAS ❌ Emitted when Handoff is about to be resumed on another device. If you need to update the state to be transferred, you should call event.preventDefault() immediately, construct a new userInfo dictionary and call app.updateCurrentActivity() in a timely manner. Otherwise, the operation will fail and continue-activity-error will be called.
Instance members
| Instance member |
Description
|
Full Usage:
this.event
Modifiers: abstract |
|
Full Usage:
this.type
Modifiers: abstract |
A string identifying the activity. Maps to NSUserActivity.activityType. |
Full Usage:
this.userInfo
Modifiers: abstract |
Contains app-specific state stored by the activity. |
fable-electron-docs-api