request_get_preset_status.proto 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /* request_get_preset_status.proto/Open GoPro, Version 2.0 (C) Copyright 2021 GoPro, Inc. (http://gopro.com/OpenGoPro). */
  2. /* This copyright was auto-generated on Wed Sep 11 20:31:30 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 obtaining preset status
  10. */
  11. syntax = "proto2";
  12. package open_gopro;
  13. enum EnumRegisterPresetStatus {
  14. REGISTER_PRESET_STATUS_PRESET = 1; // Send notification when properties of a preset change
  15. REGISTER_PRESET_STATUS_PRESET_GROUP_ARRAY = 2; // Send notification when properties of a preset group change
  16. }
  17. /**
  18. * Get the set of currently available presets and optionally register to be notified when it changes.
  19. *
  20. * Response: @ref NotifyPresetStatus sent immediately
  21. *
  22. * Notification: @ref NotifyPresetStatus sent periodically as preset status changes, if registered.
  23. *
  24. * The preset status changes when:
  25. *
  26. * - A client changes one of a preset's captioned settings via the API
  27. * - The user exits from a preset's settings UI on the camera (e.g. long-press the preset pill and then press the back arrow)
  28. * - The user creates/deletes/reorders a preset within a group
  29. */
  30. message RequestGetPresetStatus {
  31. repeated EnumRegisterPresetStatus register_preset_status = 1; // Array of Preset statuses to be notified about
  32. repeated EnumRegisterPresetStatus unregister_preset_status = 2; // Array of Preset statuses to stop being notified about
  33. }