@halone/sdk / Events
Interface: Events
Properties
apps.changed
apps.changed: null;An app was installed or removed; apps.list has the new list.
bookmarks.changed
bookmarks.changed: Bookmark[];browser.changed
browser.changed: BrowserState;Sent only to the chrome of the web window that changed.
browser.command
browser.command: object;A keyboard shortcut for the chrome of this web window, such as Ctrl+L's focus-address.
command
command: "focus-address";display.changed
display.changed: DisplayState;The environment started or stopped, or the glasses changed mode: 2D or 3D, or a new refresh rate.
downloads.changed
downloads.changed: Download[];files.accessChanged
files.accessChanged: FileAccess;history.changed
history.changed: null;launcher.changed
launcher.changed: object;open
open: boolean;media.changed
media.changed: MediaState;Sent to the window that owns the player, a few times a second while it plays.
menu.changed
menu.changed: MenuRequest | null;Sent to the menu overlay when there is a menu to show, or null when there no longer is.
plugins.changed
plugins.changed: PluginInfo[];A plugin was found, removed, enabled or disabled, or listed new apps.
screen.recordingChanged
screen.recordingChanged: RecordingState;settings.changed
settings.changed: Settings;socket.closed
socket.closed: object;The other end closed, or the connection failed with [error]. Not sent for sockets.close.
error
error: string | null;socketId
socketId: number;socket.data
socket.data: object;Bytes a socket received, base64.
data
data: string;socketId
socketId: number;status.changed
status.changed: StatusItem[];A plugin set, changed or removed a status item.
system.batteryChanged
system.batteryChanged: Battery;window.fileOpened
window.fileOpened: object;Sent to a window asked to open a file while it was already running.
path
path: string;window.focusChanged
window.focusChanged: object;focused
focused: boolean;window.routed
window.routed: object;Sent to a running window that apps.launch asked to go somewhere.
route
route: string;windows.changed
windows.changed: WindowInfo[];