Skip to content

Interface: SystemResumePayload ​

Defined in: types/desktop-engine.d.ts:804

resume event payload

Properties ​

reason ​

ts
readonly reason: "sleep" | "displaysleep" | "paused";

Defined in: types/desktop-engine.d.ts:810

Why: the Mac slept at some time meanwhile, else its displays slept, else it was paused (e.g. the user paused all content)


resumedAt ​

ts
readonly resumedAt: number;

Defined in: types/desktop-engine.d.ts:808

When it runs again, ms since the epoch


suspendedAt ​

ts
readonly suspendedAt: number;

Defined in: types/desktop-engine.d.ts:806

When the content was suspended, ms since the epoch (like Date.now())

The SDK is released under the Apache License 2.0