Skip to content

@mega-yfue/eufy-sdk / ZoomRegion

Type Alias: ZoomRegion ​

ts
type ZoomRegion = object;

Optional digital-zoom crop window for zoom. The app's SetPictureZoomParser carries a region alongside the target factor; when offset is false the region is ignored and the zoom is centred (x/y/w/h sent as 0). Coordinates are the app's own normalised values — pass them through only when mirroring a captured region.

Properties ​

h? ​

ts
h?: number;

offset? ​

ts
offset?: boolean;

When true, the x/y/w/h crop is applied; when false (default) the zoom is centred.


orgZoom? ​

ts
orgZoom?: number;

The zoom factor the region is relative to (app default 0).


w? ​

ts
w?: number;

x? ​

ts
x?: number;

y? ​

ts
y?: number;

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.