OptionalautoplayPush samples continuously through the scheduler at the delivered rate.
OptionalclockClock used for timestamps. Default: Date.now.
OptionalgrantSimulated user decision for motion.permission. Default granted.
OptionallatencyArtificial latency (ms) applied before each result. Default 0, which
responds synchronously inside handleMessage.
OptionalmaxRate cap (samples/s). Default 60.
OptionalschedulerScheduler used for deferred pushes. Default: setTimeout.
OptionalseedSeed for deterministic ids and fixture ordering. Default 1.
OptionalunavailableReport available: false with this reason.
Factory options for the motion mock.
Example