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

#include "HybridMunimBluetoothSpec.hpp"

namespace margelo::nitro::munimbluetooth {

  void HybridMunimBluetoothSpec::loadHybridMethods() {
    // load base methods/properties
    HybridObject::loadHybridMethods();
    // load custom methods/properties
    registerHybrids(this, [](Prototype& prototype) {
      prototype.registerHybridMethod("startAdvertising", &HybridMunimBluetoothSpec::startAdvertising);
      prototype.registerHybridMethod("updateAdvertisingData", &HybridMunimBluetoothSpec::updateAdvertisingData);
      prototype.registerHybridMethod("getAdvertisingData", &HybridMunimBluetoothSpec::getAdvertisingData);
      prototype.registerHybridMethod("stopAdvertising", &HybridMunimBluetoothSpec::stopAdvertising);
      prototype.registerHybridMethod("setServices", &HybridMunimBluetoothSpec::setServices);
      prototype.registerHybridMethod("updateCharacteristicValue", &HybridMunimBluetoothSpec::updateCharacteristicValue);
      prototype.registerHybridMethod("isBluetoothEnabled", &HybridMunimBluetoothSpec::isBluetoothEnabled);
      prototype.registerHybridMethod("requestBluetoothPermission", &HybridMunimBluetoothSpec::requestBluetoothPermission);
      prototype.registerHybridMethod("getCapabilities", &HybridMunimBluetoothSpec::getCapabilities);
      prototype.registerHybridMethod("startScan", &HybridMunimBluetoothSpec::startScan);
      prototype.registerHybridMethod("stopScan", &HybridMunimBluetoothSpec::stopScan);
      prototype.registerHybridMethod("connect", &HybridMunimBluetoothSpec::connect);
      prototype.registerHybridMethod("disconnect", &HybridMunimBluetoothSpec::disconnect);
      prototype.registerHybridMethod("discoverServices", &HybridMunimBluetoothSpec::discoverServices);
      prototype.registerHybridMethod("readCharacteristic", &HybridMunimBluetoothSpec::readCharacteristic);
      prototype.registerHybridMethod("readDescriptor", &HybridMunimBluetoothSpec::readDescriptor);
      prototype.registerHybridMethod("writeCharacteristic", &HybridMunimBluetoothSpec::writeCharacteristic);
      prototype.registerHybridMethod("writeDescriptor", &HybridMunimBluetoothSpec::writeDescriptor);
      prototype.registerHybridMethod("subscribeToCharacteristic", &HybridMunimBluetoothSpec::subscribeToCharacteristic);
      prototype.registerHybridMethod("unsubscribeFromCharacteristic", &HybridMunimBluetoothSpec::unsubscribeFromCharacteristic);
      prototype.registerHybridMethod("getConnectedDevices", &HybridMunimBluetoothSpec::getConnectedDevices);
      prototype.registerHybridMethod("readRSSI", &HybridMunimBluetoothSpec::readRSSI);
      prototype.registerHybridMethod("requestMTU", &HybridMunimBluetoothSpec::requestMTU);
      prototype.registerHybridMethod("setPreferredPhy", &HybridMunimBluetoothSpec::setPreferredPhy);
      prototype.registerHybridMethod("readPhy", &HybridMunimBluetoothSpec::readPhy);
      prototype.registerHybridMethod("getBondState", &HybridMunimBluetoothSpec::getBondState);
      prototype.registerHybridMethod("createBond", &HybridMunimBluetoothSpec::createBond);
      prototype.registerHybridMethod("removeBond", &HybridMunimBluetoothSpec::removeBond);
      prototype.registerHybridMethod("startExtendedAdvertising", &HybridMunimBluetoothSpec::startExtendedAdvertising);
      prototype.registerHybridMethod("stopExtendedAdvertising", &HybridMunimBluetoothSpec::stopExtendedAdvertising);
      prototype.registerHybridMethod("publishL2CAPChannel", &HybridMunimBluetoothSpec::publishL2CAPChannel);
      prototype.registerHybridMethod("unpublishL2CAPChannel", &HybridMunimBluetoothSpec::unpublishL2CAPChannel);
      prototype.registerHybridMethod("openL2CAPChannel", &HybridMunimBluetoothSpec::openL2CAPChannel);
      prototype.registerHybridMethod("closeL2CAPChannel", &HybridMunimBluetoothSpec::closeL2CAPChannel);
      prototype.registerHybridMethod("sendL2CAPData", &HybridMunimBluetoothSpec::sendL2CAPData);
      prototype.registerHybridMethod("startClassicScan", &HybridMunimBluetoothSpec::startClassicScan);
      prototype.registerHybridMethod("stopClassicScan", &HybridMunimBluetoothSpec::stopClassicScan);
      prototype.registerHybridMethod("connectClassic", &HybridMunimBluetoothSpec::connectClassic);
      prototype.registerHybridMethod("startClassicServer", &HybridMunimBluetoothSpec::startClassicServer);
      prototype.registerHybridMethod("stopClassicServer", &HybridMunimBluetoothSpec::stopClassicServer);
      prototype.registerHybridMethod("disconnectClassic", &HybridMunimBluetoothSpec::disconnectClassic);
      prototype.registerHybridMethod("writeClassic", &HybridMunimBluetoothSpec::writeClassic);
      prototype.registerHybridMethod("startBackgroundSession", &HybridMunimBluetoothSpec::startBackgroundSession);
      prototype.registerHybridMethod("stopBackgroundSession", &HybridMunimBluetoothSpec::stopBackgroundSession);
      prototype.registerHybridMethod("startMultipeerSession", &HybridMunimBluetoothSpec::startMultipeerSession);
      prototype.registerHybridMethod("stopMultipeerSession", &HybridMunimBluetoothSpec::stopMultipeerSession);
      prototype.registerHybridMethod("inviteMultipeerPeer", &HybridMunimBluetoothSpec::inviteMultipeerPeer);
      prototype.registerHybridMethod("getMultipeerPeers", &HybridMunimBluetoothSpec::getMultipeerPeers);
      prototype.registerHybridMethod("sendMultipeerMessage", &HybridMunimBluetoothSpec::sendMultipeerMessage);
      prototype.registerHybridMethod("addListener", &HybridMunimBluetoothSpec::addListener);
      prototype.registerHybridMethod("removeListeners", &HybridMunimBluetoothSpec::removeListeners);
    });
  }

} // namespace margelo::nitro::munimbluetooth
