The commands API executes specified commands on the camera and checks the status (in-progress
, done
, and so on) of executed commands. All commands need to be implemented based on the specification in the OSC API Specification.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-09 UTC.
[null,null,["Last updated 2024-10-09 UTC."],[[["The commands API allows you to execute specific commands on a camera and monitor their progress."],["All commands must adhere to the specifications outlined in the OSC API Specification."],["Once a command is completed or results in an error, the camera no longer tracks its ID."],["The `camera.getImage` command should respond with a Content-Type of `image/jpeg` upon successful completion."]]],["The commands API manages the execution of commands on a camera and monitors their status. Commands are implemented according to the OSC API Specification. The API tracks command status as `in-progress`, `done`, or others. Upon completion or error, the camera no longer tracks the command ID. The `camera.getImage` command, when in `done` state, returns a response with `Content-Type: image/jpeg`.\n"]]