ACTION_GET_SCREEN_STATE
Detects whether the Android screen is on or locked and returns state variables, enabling workflows to branch or halt based on screen status.
Instructions
读取屏幕是否亮着、是否锁屏。输出:screen_on, screen_locked, screen_state_success, screen_state_error。字符串参数支持 ${var} 插值;结果以变量快照 JSON 返回。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| require | No | 执行后要求为 true 的变量名(如 click_success),不满足按出错处理 | |
| on_error | No | 节点出错时:skip=跳过继续(默认),stop=停止整个工作流 | |
| node_timeout_ms | No | 单节点超时毫秒,0=不限;默认 30 分钟 |