
/**
 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
 *
 * Do not edit this file as changes may cause incorrect behavior and will be lost
 * once the code is regenerated.
 *
 * @generated by codegen project: GenerateEventEmitterH.js
 */
#pragma once

#include <react/renderer/components/view/ViewEventEmitter.h>


namespace facebook::react {
class CKCameraEventEmitter : public ViewEventEmitter {
 public:
  using ViewEventEmitter::ViewEventEmitter;

  struct OnOrientationChange {
      int orientation;
    };

  struct OnZoom {
      double zoom;
    };

  struct OnError {
      std::string errorMessage;
    };

  struct OnReadCode {
      std::string codeStringValue;
    std::string codeFormat;
    };

  struct OnCaptureButtonPressIn {
      
    };

  struct OnCaptureButtonPressOut {
      
    };

  struct OnPictureTaken {
      std::string uri;
    };
  void onOrientationChange(OnOrientationChange value) const;

  void onZoom(OnZoom value) const;

  void onError(OnError value) const;

  void onReadCode(OnReadCode value) const;

  void onCaptureButtonPressIn(OnCaptureButtonPressIn value) const;

  void onCaptureButtonPressOut(OnCaptureButtonPressOut value) const;

  void onPictureTaken(OnPictureTaken value) const;
};
} // namespace facebook::react
