Skip to content

eufy-mega / model/capabilities / hasRealtimeReads

Function: hasRealtimeReads()

ts
function hasRealtimeReads(capabilities): boolean;

Whether any of these capabilities feeds its readable state from realtime rather than from a pollable cloud param — i.e. whether a device is worth waiting on before its reads are meaningful.

Parameters

capabilities

ReadonlySet<Capability>

Returns

boolean

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