/**
 * 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 "ScanditReactNativeDatacaptureCoreSpecJSI.h"

namespace facebook::react {

static jsi::Value __hostFunction_NativeScanditDataCaptureCoreCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  return static_cast<NativeScanditDataCaptureCoreCxxSpecJSI *>(&turboModule)->getConstants(
    rt
  );
}
static jsi::Value __hostFunction_NativeScanditDataCaptureCoreCxxSpecJSI_createDataCaptureView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  return static_cast<NativeScanditDataCaptureCoreCxxSpecJSI *>(&turboModule)->createDataCaptureView(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt)
  );
}
static jsi::Value __hostFunction_NativeScanditDataCaptureCoreCxxSpecJSI_removeDataCaptureView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  return static_cast<NativeScanditDataCaptureCoreCxxSpecJSI *>(&turboModule)->removeDataCaptureView(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt)
  );
}
static jsi::Value __hostFunction_NativeScanditDataCaptureCoreCxxSpecJSI_executeCore(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  return static_cast<NativeScanditDataCaptureCoreCxxSpecJSI *>(&turboModule)->executeCore(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt)
  );
}

NativeScanditDataCaptureCoreCxxSpecJSI::NativeScanditDataCaptureCoreCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
  : TurboModule("ScanditDataCaptureCore", jsInvoker) {
  methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeScanditDataCaptureCoreCxxSpecJSI_getConstants};
  methodMap_["createDataCaptureView"] = MethodMetadata {1, __hostFunction_NativeScanditDataCaptureCoreCxxSpecJSI_createDataCaptureView};
  methodMap_["removeDataCaptureView"] = MethodMetadata {1, __hostFunction_NativeScanditDataCaptureCoreCxxSpecJSI_removeDataCaptureView};
  methodMap_["executeCore"] = MethodMetadata {1, __hostFunction_NativeScanditDataCaptureCoreCxxSpecJSI_executeCore};
}


} // namespace facebook::react
