EmulatorStatusPatch
@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?
optionalcharging:boolean
Defined in: types/experiment.ts:63
Simulated charging flag.
sleepMode?
optionalsleepMode: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?
optionalsleepModeReason:string|null
Defined in: types/experiment.ts:71
Derived alongside sleepMode; "charging" while charging, else null.
state?
optionalstate:string
Defined in: types/experiment.ts:61
Simulated connection/run state (e.g. "online", "offline").