Skip to content

ElectronSystemPreferences.unsubscribeWorkspaceNotification method

ElectronSystemPreferences › unsubscribeWorkspaceNotification

Unofficial

Same as unsubscribeNotification, but removes the subscriber from NSWorkspace.sharedWorkspace.notificationCenter.

Signature:

unsubscribeWorkspaceNotification(id: number): void

Parameters:

Parameter Type Description
id number The ID of the subscription to remove.

Platform: darwin.

Returns: void