docs(nodes): document android camera list and device actions

This commit is contained in:
Ayaan Zaidi 2026-02-27 09:25:08 +05:30 committed by Ayaan Zaidi
parent 01f1d355a4
commit c1e0f8cfb1
2 changed files with 9 additions and 2 deletions

View File

@ -100,6 +100,12 @@ If permissions are missing, the app will prompt when possible; if denied, `camer
Like `canvas.*`, the Android node only allows `camera.*` commands in the **foreground**. Background invocations return `NODE_BACKGROUND_UNAVAILABLE`.
### Android commands (via Gateway `node.invoke`)
- `camera.list`
- Response payload:
- `devices`: array of `{ id, name, position, deviceType }`
### Payload guard
Photos are recompressed to keep the base64 payload under 5 MB.

View File

@ -354,8 +354,9 @@ Core actions:
- `pending`, `approve`, `reject` (pairing)
- `notify` (macOS `system.notify`)
- `run` (macOS `system.run`)
- `camera_snap`, `camera_clip`, `screen_record`
- `location_get`
- `camera_list`, `camera_snap`, `camera_clip`, `screen_record`
- `location_get`, `notifications_list`
- `device_status`, `device_info`
Notes: