简体   繁体   English

Google Device Access API 是否允许打开或关闭相机? 或者打开或关闭通知?

[英]Does the Google Device Access API allow turning a camera on or off? Or turning notifications on or off?

Looking at the Google Device Access API , I don't see a command to turn a camera on or off.查看Google Device Access API ,我没有看到打开或关闭相机的命令。 And I also don't see a command to turn notifications for a camera on or off.而且我也没有看到打开或关闭相机通知的命令。 I see the camera traits here , but maybe there are commands somewhere else that apply to any type of device?我在这里看到了相机特性,但也许其他地方有适用于任何类型设备的命令?

Am I missing it, or is this functionality in fact not provided?我是否错过了它,或者实际上没有提供此功能?

I had hopes that I would be able to refine notifications based on smart home events, as opposed to a strict time schedule as it is now...我曾希望我能够根据智能家居事件改进通知,而不是像现在这样严格的时间表......

不是您要找的,但您可以查询在线或离线状态: https : //developers.google.com/nest/device-access/traits/device/connectivity

No, at least not at this time for Cameras.不,至少目前对于相机来说不是。

Cameras Traits do not include connectivity - link Thermostat does list the Connectivity trait -link相机特性不包括连接性 -链接恒温器确实列出了连接性特性 -链接

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM