///
/// HybridCoreModuleSpec.cpp
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
/// https://github.com/mrousavy/nitro
/// Copyright © Marc Rousavy @ Margelo
///

#include "HybridCoreModuleSpec.hpp"

namespace margelo::nitro::healthkit {

  void HybridCoreModuleSpec::loadHybridMethods() {
    // load base methods/properties
    HybridObject::loadHybridMethods();
    // load custom methods/properties
    registerHybrids(this, [](Prototype& prototype) {
      prototype.registerHybridMethod("enableBackgroundDelivery", &HybridCoreModuleSpec::enableBackgroundDelivery);
      prototype.registerHybridMethod("disableBackgroundDelivery", &HybridCoreModuleSpec::disableBackgroundDelivery);
      prototype.registerHybridMethod("disableAllBackgroundDelivery", &HybridCoreModuleSpec::disableAllBackgroundDelivery);
      prototype.registerHybridMethod("configureBackgroundTypes", &HybridCoreModuleSpec::configureBackgroundTypes);
      prototype.registerHybridMethod("clearBackgroundTypes", &HybridCoreModuleSpec::clearBackgroundTypes);
      prototype.registerHybridMethod("isHealthDataAvailable", &HybridCoreModuleSpec::isHealthDataAvailable);
      prototype.registerHybridMethod("isHealthDataAvailableAsync", &HybridCoreModuleSpec::isHealthDataAvailableAsync);
      prototype.registerHybridMethod("isProtectedDataAvailable", &HybridCoreModuleSpec::isProtectedDataAvailable);
      prototype.registerHybridMethod("isProtectedDataAvailableAsync", &HybridCoreModuleSpec::isProtectedDataAvailableAsync);
      prototype.registerHybridMethod("currentAppSource", &HybridCoreModuleSpec::currentAppSource);
      prototype.registerHybridMethod("getPreferredUnits", &HybridCoreModuleSpec::getPreferredUnits);
      prototype.registerHybridMethod("querySources", &HybridCoreModuleSpec::querySources);
      prototype.registerHybridMethod("subscribeToObserverQuery", &HybridCoreModuleSpec::subscribeToObserverQuery);
      prototype.registerHybridMethod("unsubscribeQuery", &HybridCoreModuleSpec::unsubscribeQuery);
      prototype.registerHybridMethod("unsubscribeQueryAsync", &HybridCoreModuleSpec::unsubscribeQueryAsync);
      prototype.registerHybridMethod("unsubscribeQueries", &HybridCoreModuleSpec::unsubscribeQueries);
      prototype.registerHybridMethod("unsubscribeQueriesAsync", &HybridCoreModuleSpec::unsubscribeQueriesAsync);
      prototype.registerHybridMethod("authorizationStatusFor", &HybridCoreModuleSpec::authorizationStatusFor);
      prototype.registerHybridMethod("getRequestStatusForAuthorization", &HybridCoreModuleSpec::getRequestStatusForAuthorization);
      prototype.registerHybridMethod("requestAuthorization", &HybridCoreModuleSpec::requestAuthorization);
      prototype.registerHybridMethod("requestPerObjectReadAuthorization", &HybridCoreModuleSpec::requestPerObjectReadAuthorization);
      prototype.registerHybridMethod("deleteObjects", &HybridCoreModuleSpec::deleteObjects);
      prototype.registerHybridMethod("isObjectTypeAvailable", &HybridCoreModuleSpec::isObjectTypeAvailable);
      prototype.registerHybridMethod("areObjectTypesAvailable", &HybridCoreModuleSpec::areObjectTypesAvailable);
      prototype.registerHybridMethod("areObjectTypesAvailableAsync", &HybridCoreModuleSpec::areObjectTypesAvailableAsync);
      prototype.registerHybridMethod("isObjectTypeAvailableAsync", &HybridCoreModuleSpec::isObjectTypeAvailableAsync);
    });
  }

} // namespace margelo::nitro::healthkit
