/**
 * 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: GenerateModuleObjCpp
 *
 * We create an umbrella header (and corresponding implementation) here since
 * Cxx compilation in BUCK has a limitation: source-code producing genrule()s
 * must have a single output. More files => more genrule()s => slower builds.
 */

#import "RNHoneywellSpec.h"


@implementation NativeHoneywellSpecBase


- (void)setEventEmitterCallback:(EventEmitterCallbackWrapper *)eventEmitterCallbackWrapper
{
  _eventEmitterCallback = std::move(eventEmitterCallbackWrapper->_eventEmitterCallback);
}
@end


namespace facebook::react {
  
    static facebook::jsi::Value __hostFunction_NativeHoneywellSpecJSI_startReader(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
      return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, PromiseKind, "startReader", @selector(startReader:reject:), args, count);
    }

    static facebook::jsi::Value __hostFunction_NativeHoneywellSpecJSI_stopReader(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
      return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, PromiseKind, "stopReader", @selector(stopReader:reject:), args, count);
    }

    static facebook::jsi::Value __hostFunction_NativeHoneywellSpecJSI_setReaderPropertyString(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
      return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "setReaderPropertyString", @selector(setReaderPropertyString:value:), args, count);
    }

    static facebook::jsi::Value __hostFunction_NativeHoneywellSpecJSI_setReaderPropertyNumber(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
      return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "setReaderPropertyNumber", @selector(setReaderPropertyNumber:value:), args, count);
    }

    static facebook::jsi::Value __hostFunction_NativeHoneywellSpecJSI_setReaderPropertyBoolean(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
      return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "setReaderPropertyBoolean", @selector(setReaderPropertyBoolean:value:), args, count);
    }

    static facebook::jsi::Value __hostFunction_NativeHoneywellSpecJSI_isCompatible(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
      return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, BooleanKind, "isCompatible", @selector(isCompatible), args, count);
    }

    static facebook::jsi::Value __hostFunction_NativeHoneywellSpecJSI_addListener(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
      return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "addListener", @selector(addListener:), args, count);
    }

    static facebook::jsi::Value __hostFunction_NativeHoneywellSpecJSI_removeListeners(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
      return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "removeListeners", @selector(removeListeners:), args, count);
    }

  NativeHoneywellSpecJSI::NativeHoneywellSpecJSI(const ObjCTurboModule::InitParams &params)
    : ObjCTurboModule(params) {
      
        methodMap_["startReader"] = MethodMetadata {0, __hostFunction_NativeHoneywellSpecJSI_startReader};
        
        
        methodMap_["stopReader"] = MethodMetadata {0, __hostFunction_NativeHoneywellSpecJSI_stopReader};
        
        
        methodMap_["setReaderPropertyString"] = MethodMetadata {2, __hostFunction_NativeHoneywellSpecJSI_setReaderPropertyString};
        
        
        methodMap_["setReaderPropertyNumber"] = MethodMetadata {2, __hostFunction_NativeHoneywellSpecJSI_setReaderPropertyNumber};
        
        
        methodMap_["setReaderPropertyBoolean"] = MethodMetadata {2, __hostFunction_NativeHoneywellSpecJSI_setReaderPropertyBoolean};
        
        
        methodMap_["isCompatible"] = MethodMetadata {0, __hostFunction_NativeHoneywellSpecJSI_isCompatible};
        
        
        methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeHoneywellSpecJSI_addListener};
        
        
        methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeHoneywellSpecJSI_removeListeners};
        
  }
} // namespace facebook::react
