Skip to content

Function: createDeviceState() ​

ts
function createDeviceState(overrides?): DeviceState;

Generates a fresh device state. Pass saved ids in overrides to restore one.

Parameters ​

ParameterType
overrides?Partial<DeviceState>

Returns ​

DeviceState

MIT License. Not affiliated with, endorsed or sponsored by Meta or Instagram.