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

#include "RNHoneycombOpentelemetryReactNativeSpec.h"

namespace facebook::react {

static facebook::jsi::Value __hostFunction_NativeHoneycombOpentelemetryReactNativeSpecJSI_getSessionId(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
  static jmethodID cachedMethodId = nullptr;
  return static_cast<JavaTurboModule &>(turboModule).invokeJavaMethod(rt, StringKind, "getSessionId", "()Ljava/lang/String;", args, count, cachedMethodId);
}

static facebook::jsi::Value __hostFunction_NativeHoneycombOpentelemetryReactNativeSpecJSI_getAppStartTime(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
  static jmethodID cachedMethodId = nullptr;
  return static_cast<JavaTurboModule &>(turboModule).invokeJavaMethod(rt, NumberKind, "getAppStartTime", "()D", args, count, cachedMethodId);
}

static facebook::jsi::Value __hostFunction_NativeHoneycombOpentelemetryReactNativeSpecJSI_getDebugSourceMapUUID(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
  static jmethodID cachedMethodId = nullptr;
  return static_cast<JavaTurboModule &>(turboModule).invokeJavaMethod(rt, StringKind, "getDebugSourceMapUUID", "()Ljava/lang/String;", args, count, cachedMethodId);
}

static facebook::jsi::Value __hostFunction_NativeHoneycombOpentelemetryReactNativeSpecJSI_getResource(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
  static jmethodID cachedMethodId = nullptr;
  return static_cast<JavaTurboModule &>(turboModule).invokeJavaMethod(rt, ObjectKind, "getResource", "()Lcom/facebook/react/bridge/WritableMap;", args, count, cachedMethodId);
}

NativeHoneycombOpentelemetryReactNativeSpecJSI::NativeHoneycombOpentelemetryReactNativeSpecJSI(const JavaTurboModule::InitParams &params)
  : JavaTurboModule(params) {
  methodMap_["getSessionId"] = MethodMetadata {0, __hostFunction_NativeHoneycombOpentelemetryReactNativeSpecJSI_getSessionId};
  methodMap_["getAppStartTime"] = MethodMetadata {0, __hostFunction_NativeHoneycombOpentelemetryReactNativeSpecJSI_getAppStartTime};
  methodMap_["getDebugSourceMapUUID"] = MethodMetadata {0, __hostFunction_NativeHoneycombOpentelemetryReactNativeSpecJSI_getDebugSourceMapUUID};
  methodMap_["getResource"] = MethodMetadata {0, __hostFunction_NativeHoneycombOpentelemetryReactNativeSpecJSI_getResource};
}

std::shared_ptr<TurboModule> RNHoneycombOpentelemetryReactNativeSpec_ModuleProvider(const std::string &moduleName, const JavaTurboModule::InitParams &params) {
  if (moduleName == "HoneycombOpentelemetryReactNative") {
    return std::make_shared<NativeHoneycombOpentelemetryReactNativeSpecJSI>(params);
  }
  return nullptr;
}

} // namespace facebook::react
