Skip to content

ElectronApp.updateCurrentActivity method

ElectronApp › updateCurrentActivity

Unofficial

Updates the current activity if its type matches type, merging the entries from userInfo. macOS only.

Signature:

updateCurrentActivity(type: string, userInfo: unknown): void

Parameters:

Parameter Type Description
type string Uniquely identifies the activity.
userInfo unknown App-specific state to merge into the current activity.

Returns: void