Header menu logo fable-electron-docs-api

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

this.event

Full Usage: this.event

Modifiers: abstract

this.type

Full Usage: this.type

Modifiers: abstract

A string identifying the activity. Maps to NSUserActivity.activityType.

this.userInfo

Full Usage: this.userInfo

Modifiers: abstract

Contains app-specific state stored by the activity.

Type something to start searching.