Skip to content

eufy-mega / model/capabilities / encodeAiDetectType

Function: encodeAiDetectType()

ts
function encodeAiDetectType(flags): number;

Encode named detection types → the ai_detect_type bitmask (always includes the enabled base).

Parameters

flags

AiDetectFlags

Returns

number

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.