Skip to content

@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

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

Independent and unofficial. Not affiliated with, endorsed by, or sponsored by Anker Innovations, Anker eufy, or eufy. "Anker eufy", "eufy" and "Anker" are trademarks of their respective owners. Use responsibly — rapid or failed logins can trigger captcha or temporary cooldowns.