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


@implementation NativeIbeaconSpecBase


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

@implementation RCTCxxConvert (NativeIbeacon_IbeaconConfig)
+ (RCTManagedPointer *)JS_NativeIbeacon_IbeaconConfig:(id)json
{
  return facebook::react::managedPointer<JS::NativeIbeacon::IbeaconConfig>(json);
}
@end
namespace facebook::react {
  
    static facebook::jsi::Value __hostFunction_NativeIbeaconSpecJSI_multiply(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
      return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, PromiseKind, "multiply", @selector(multiply:b:resolve:reject:), args, count);
    }

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

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

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

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

  NativeIbeaconSpecJSI::NativeIbeaconSpecJSI(const ObjCTurboModule::InitParams &params)
    : ObjCTurboModule(params) {
      
        methodMap_["multiply"] = MethodMetadata {2, __hostFunction_NativeIbeaconSpecJSI_multiply};
        
        
        methodMap_["startScan"] = MethodMetadata {1, __hostFunction_NativeIbeaconSpecJSI_startScan};
        setMethodArgConversionSelector(@"startScan", 0, @"JS_NativeIbeacon_IbeaconConfig:");
        
        methodMap_["stopScan"] = MethodMetadata {0, __hostFunction_NativeIbeaconSpecJSI_stopScan};
        
        
        methodMap_["checkPermissions"] = MethodMetadata {0, __hostFunction_NativeIbeaconSpecJSI_checkPermissions};
        
        
        methodMap_["isBleSupported"] = MethodMetadata {0, __hostFunction_NativeIbeaconSpecJSI_isBleSupported};
        
  }
} // namespace facebook::react
