set_camera_control_status.proto 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /* set_camera_control_status.proto/Open GoPro, Version 2.0 (C) Copyright 2021 GoPro, Inc. (http://gopro.com/OpenGoPro). */
  2. /* This copyright was auto-generated on Mon Nov 4 18:00:55 UTC 2024 */
  3. /***********************************************************************************************************************
  4. *
  5. * This file is automatically generated!!! Do not modify manually.
  6. *
  7. **********************************************************************************************************************/
  8. /**
  9. * Defines the structure of protobuf messages for setting camera control status
  10. */
  11. syntax = "proto2";
  12. package open_gopro;
  13. enum EnumCameraControlStatus {
  14. CAMERA_IDLE = 0;
  15. CAMERA_CONTROL = 1; // Can only be set by camera, not by app or third party
  16. CAMERA_EXTERNAL_CONTROL = 2;
  17. CAMERA_COF_SETUP = 3; // Set by the camera when it is on the CAH (Camera As a Hub) / COF (Cloud Offload) setup screen
  18. }
  19. /**
  20. * Set Camera Control Status (as part of Global Behaviors feature)
  21. *
  22. * This command is used to tell the camera that the app (i.e. External Control) wishes to claim control of the camera.
  23. * This causes the camera to immediately exit most contextual menus and return to the idle screen. Any interaction with
  24. * the camera's physical buttons will cause the camera to reclaim control and update control status accordingly. If the
  25. * user returns the camera UI to the idle screen, the camera updates control status to Idle.
  26. *
  27. * The entity currently claiming control of the camera is advertised in camera status 114. Information about whether the
  28. * camera is in a contextual menu or not is advertised in camera status 63.
  29. *
  30. * Response: @ref ResponseGeneric
  31. */
  32. message RequestSetCameraControlStatus {
  33. required EnumCameraControlStatus camera_control_status = 1; // Declare who is taking control of the camera
  34. }