
/**
 * 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 RNAirshipEmbeddedViewEventEmitter : public ViewEventEmitter {
 public:
  using ViewEventEmitter::ViewEventEmitter;

  
  
};
class RNAirshipMessageViewEventEmitter : public ViewEventEmitter {
 public:
  using ViewEventEmitter::ViewEventEmitter;

  struct OnLoadStarted {
      std::string messageId;
    };

  struct OnLoadFinished {
      std::string messageId;
    };

  struct OnLoadError {
      std::string messageId;
    bool retryable;
    std::string error;
    };

  struct OnClose {
      std::string messageId;
    };
  void onLoadStarted(OnLoadStarted value) const;

  void onLoadFinished(OnLoadFinished value) const;

  void onLoadError(OnLoadError value) const;

  void onClose(OnClose value) const;
};
} // namespace facebook::react
