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

#include "HybridOneNotificationsSpec.hpp"

namespace margelo::nitro::one {

  void HybridOneNotificationsSpec::loadHybridMethods() {
    // load base methods/properties
    HybridObject::loadHybridMethods();
    // load custom methods/properties
    registerHybrids(this, [](Prototype& prototype) {
      prototype.registerHybridMethod("getPermissions", &HybridOneNotificationsSpec::getPermissions);
      prototype.registerHybridMethod("requestPermissions", &HybridOneNotificationsSpec::requestPermissions);
      prototype.registerHybridMethod("getBadgeCount", &HybridOneNotificationsSpec::getBadgeCount);
      prototype.registerHybridMethod("setBadgeCount", &HybridOneNotificationsSpec::setBadgeCount);
      prototype.registerHybridMethod("setNotificationCategory", &HybridOneNotificationsSpec::setNotificationCategory);
      prototype.registerHybridMethod("getNotificationCategories", &HybridOneNotificationsSpec::getNotificationCategories);
      prototype.registerHybridMethod("deleteNotificationCategory", &HybridOneNotificationsSpec::deleteNotificationCategory);
      prototype.registerHybridMethod("setNotificationChannel", &HybridOneNotificationsSpec::setNotificationChannel);
      prototype.registerHybridMethod("getNotificationChannel", &HybridOneNotificationsSpec::getNotificationChannel);
      prototype.registerHybridMethod("getNotificationChannels", &HybridOneNotificationsSpec::getNotificationChannels);
      prototype.registerHybridMethod("deleteNotificationChannel", &HybridOneNotificationsSpec::deleteNotificationChannel);
      prototype.registerHybridMethod("scheduleNotification", &HybridOneNotificationsSpec::scheduleNotification);
      prototype.registerHybridMethod("cancelScheduledNotification", &HybridOneNotificationsSpec::cancelScheduledNotification);
      prototype.registerHybridMethod("cancelAllScheduledNotifications", &HybridOneNotificationsSpec::cancelAllScheduledNotifications);
      prototype.registerHybridMethod("getAllScheduledNotifications", &HybridOneNotificationsSpec::getAllScheduledNotifications);
      prototype.registerHybridMethod("getPresentedNotifications", &HybridOneNotificationsSpec::getPresentedNotifications);
      prototype.registerHybridMethod("dismissNotification", &HybridOneNotificationsSpec::dismissNotification);
      prototype.registerHybridMethod("dismissAllNotifications", &HybridOneNotificationsSpec::dismissAllNotifications);
      prototype.registerHybridMethod("getDevicePushToken", &HybridOneNotificationsSpec::getDevicePushToken);
      prototype.registerHybridMethod("setListeners", &HybridOneNotificationsSpec::setListeners);
      prototype.registerHybridMethod("presentNotification", &HybridOneNotificationsSpec::presentNotification);
      prototype.registerHybridMethod("getLastNotificationResponse", &HybridOneNotificationsSpec::getLastNotificationResponse);
      prototype.registerHybridMethod("clearLastNotificationResponse", &HybridOneNotificationsSpec::clearLastNotificationResponse);
    });
  }

} // namespace margelo::nitro::one
