ElectronApp.updateCurrentActivity method
ElectronApp › updateCurrentActivity
Unofficial
Updates the current activity if its type matchestype, merging the entries from userInfo. macOS only. Signature:
updateCurrentActivity(type: string, userInfo: unknown): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| type | string | Uniquely identifies the activity. |
| userInfo | unknown | App-specific state to merge into the current activity. |
Returns: void