/**
 * 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: GenerateModuleCpp.js
 */

#include "RNHoneywellSpecJSI.h"

namespace facebook::react {

static jsi::Value __hostFunction_NativeHoneywellCxxSpecJSI_startReader(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  return static_cast<NativeHoneywellCxxSpecJSI *>(&turboModule)->startReader(
    rt
  );
}
static jsi::Value __hostFunction_NativeHoneywellCxxSpecJSI_stopReader(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  return static_cast<NativeHoneywellCxxSpecJSI *>(&turboModule)->stopReader(
    rt
  );
}
static jsi::Value __hostFunction_NativeHoneywellCxxSpecJSI_setReaderPropertyString(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeHoneywellCxxSpecJSI *>(&turboModule)->setReaderPropertyString(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
    count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asString(rt)
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeHoneywellCxxSpecJSI_setReaderPropertyNumber(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeHoneywellCxxSpecJSI *>(&turboModule)->setReaderPropertyNumber(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
    count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asNumber()
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeHoneywellCxxSpecJSI_setReaderPropertyBoolean(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeHoneywellCxxSpecJSI *>(&turboModule)->setReaderPropertyBoolean(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
    count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asBool()
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeHoneywellCxxSpecJSI_isCompatible(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  return static_cast<NativeHoneywellCxxSpecJSI *>(&turboModule)->isCompatible(
    rt
  );
}
static jsi::Value __hostFunction_NativeHoneywellCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeHoneywellCxxSpecJSI *>(&turboModule)->addListener(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeHoneywellCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeHoneywellCxxSpecJSI *>(&turboModule)->removeListeners(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asNumber()
  );
  return jsi::Value::undefined();
}

NativeHoneywellCxxSpecJSI::NativeHoneywellCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
  : TurboModule("HoneywellBarcodeReader", jsInvoker) {
  methodMap_["startReader"] = MethodMetadata {0, __hostFunction_NativeHoneywellCxxSpecJSI_startReader};
  methodMap_["stopReader"] = MethodMetadata {0, __hostFunction_NativeHoneywellCxxSpecJSI_stopReader};
  methodMap_["setReaderPropertyString"] = MethodMetadata {2, __hostFunction_NativeHoneywellCxxSpecJSI_setReaderPropertyString};
  methodMap_["setReaderPropertyNumber"] = MethodMetadata {2, __hostFunction_NativeHoneywellCxxSpecJSI_setReaderPropertyNumber};
  methodMap_["setReaderPropertyBoolean"] = MethodMetadata {2, __hostFunction_NativeHoneywellCxxSpecJSI_setReaderPropertyBoolean};
  methodMap_["isCompatible"] = MethodMetadata {0, __hostFunction_NativeHoneywellCxxSpecJSI_isCompatible};
  methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeHoneywellCxxSpecJSI_addListener};
  methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeHoneywellCxxSpecJSI_removeListeners};
}


} // namespace facebook::react
