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

#include "HybridOneAudioSpec.hpp"

namespace margelo::nitro::one {

  void HybridOneAudioSpec::loadHybridMethods() {
    // load base methods/properties
    HybridObject::loadHybridMethods();
    // load custom methods/properties
    registerHybrids(this, [](Prototype& prototype) {
      prototype.registerHybridMethod("getRecordingPermissionStatus", &HybridOneAudioSpec::getRecordingPermissionStatus);
      prototype.registerHybridMethod("requestRecordingPermission", &HybridOneAudioSpec::requestRecordingPermission);
      prototype.registerHybridMethod("play", &HybridOneAudioSpec::play);
      prototype.registerHybridMethod("getPlaybackStatus", &HybridOneAudioSpec::getPlaybackStatus);
      prototype.registerHybridMethod("pause", &HybridOneAudioSpec::pause);
      prototype.registerHybridMethod("resume", &HybridOneAudioSpec::resume);
      prototype.registerHybridMethod("seek", &HybridOneAudioSpec::seek);
      prototype.registerHybridMethod("stop", &HybridOneAudioSpec::stop);
      prototype.registerHybridMethod("startRecording", &HybridOneAudioSpec::startRecording);
      prototype.registerHybridMethod("getRecordingStatus", &HybridOneAudioSpec::getRecordingStatus);
      prototype.registerHybridMethod("pauseRecording", &HybridOneAudioSpec::pauseRecording);
      prototype.registerHybridMethod("resumeRecording", &HybridOneAudioSpec::resumeRecording);
      prototype.registerHybridMethod("stopRecording", &HybridOneAudioSpec::stopRecording);
      prototype.registerHybridMethod("addInterruptionListener", &HybridOneAudioSpec::addInterruptionListener);
      prototype.registerHybridMethod("setNowPlayingInfo", &HybridOneAudioSpec::setNowPlayingInfo);
      prototype.registerHybridMethod("clearNowPlayingInfo", &HybridOneAudioSpec::clearNowPlayingInfo);
      prototype.registerHybridMethod("addRemoteCommandListener", &HybridOneAudioSpec::addRemoteCommandListener);
      prototype.registerHybridMethod("createPlayer", &HybridOneAudioSpec::createPlayer);
      prototype.registerHybridMethod("playerPlay", &HybridOneAudioSpec::playerPlay);
      prototype.registerHybridMethod("playerPause", &HybridOneAudioSpec::playerPause);
      prototype.registerHybridMethod("playerSeek", &HybridOneAudioSpec::playerSeek);
      prototype.registerHybridMethod("playerReplace", &HybridOneAudioSpec::playerReplace);
      prototype.registerHybridMethod("removePlayer", &HybridOneAudioSpec::removePlayer);
      prototype.registerHybridMethod("getPlayerStatus", &HybridOneAudioSpec::getPlayerStatus);
      prototype.registerHybridMethod("setPlayerRate", &HybridOneAudioSpec::setPlayerRate);
      prototype.registerHybridMethod("setPlayerVolume", &HybridOneAudioSpec::setPlayerVolume);
      prototype.registerHybridMethod("setPlayerMuted", &HybridOneAudioSpec::setPlayerMuted);
      prototype.registerHybridMethod("setPlayerLoop", &HybridOneAudioSpec::setPlayerLoop);
      prototype.registerHybridMethod("setPlayerPitchCorrection", &HybridOneAudioSpec::setPlayerPitchCorrection);
    });
  }

} // namespace margelo::nitro::one
