Skip to main content

EmulatorStatusPatch

@neurosity/sdk


@neurosity/sdk / EmulatorStatusPatch

Type Alias: EmulatorStatusPatch

EmulatorStatusPatch = object

Defined in: types/experiment.ts:59

Status fields that can be simulated on an emulator device via Neurosity.setEmulatorStatus.

Properties

charging?

optional charging: boolean

Defined in: types/experiment.ts:63

Simulated charging flag.


sleepMode?

optional sleepMode: boolean

Defined in: types/experiment.ts:69

Derived from charging by setEmulatorStatus — not set directly by callers. Mirrors the device-emulator's own getChargingStatus so the written status stays consistent.


sleepModeReason?

optional sleepModeReason: string | null

Defined in: types/experiment.ts:71

Derived alongside sleepMode; "charging" while charging, else null.


state?

optional state: string

Defined in: types/experiment.ts:61

Simulated connection/run state (e.g. "online", "offline").