Interface DesktopSettingsBeta

Interface for desktop settings.

interface DesktopSettings {
    getOpenWorkspaceIds: (() => Promise<string[]>);
    onOpenWorkspaceIdsChanged: AddListener<string[]>;
    setOpenWorkspaceIds: ((ids: string[]) => Promise<void>);
}

Hierarchy (view full)

Properties

getOpenWorkspaceIds: (() => Promise<string[]>)

Gets the IDs of open workspaces.

onOpenWorkspaceIdsChanged: AddListener<string[]>

Listener for changes in open workspace IDs list (list gets updated on eg close / open event)

setOpenWorkspaceIds: ((ids: string[]) => Promise<void>)

Sets the IDs of open workspaces.