///
/// 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("isBluetoothEnabled", &HybridMunimBluetoothSpec::isBluetoothEnabled);
      prototype.registerHybridMethod("requestBluetoothPermission", &HybridMunimBluetoothSpec::requestBluetoothPermission);
      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("writeCharacteristic", &HybridMunimBluetoothSpec::writeCharacteristic);
      prototype.registerHybridMethod("subscribeToCharacteristic", &HybridMunimBluetoothSpec::subscribeToCharacteristic);
      prototype.registerHybridMethod("unsubscribeFromCharacteristic", &HybridMunimBluetoothSpec::unsubscribeFromCharacteristic);
      prototype.registerHybridMethod("getConnectedDevices", &HybridMunimBluetoothSpec::getConnectedDevices);
      prototype.registerHybridMethod("readRSSI", &HybridMunimBluetoothSpec::readRSSI);
      prototype.registerHybridMethod("addListener", &HybridMunimBluetoothSpec::addListener);
      prototype.registerHybridMethod("removeListeners", &HybridMunimBluetoothSpec::removeListeners);
    });
  }

} // namespace margelo::nitro::munimbluetooth
