@mega-yfue/eufy-sdk / FragmentRecordingHandle
Interface: FragmentRecordingHandle
A fragmented-MP4 recording owned by the caller. It is an async iterable for direct for await consumption, and exposes the shared source's battery budget plus an explicit stop.
Extends
AsyncIterable<MediaFragment>
Methods
on()
ts
on(event, listener): this;Battery budget elapsed; call notice.extend() to keep the shared media session alive.
Parameters
event
"budget"
listener
(notice) => void
Returns
this
stop()
ts
stop(): void;End this recording and release its shared-source consumer. Idempotent.
Returns
void