APPLocalNotification.ios9.h 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. /*
  2. * Copyright (c) 2013-2015 by appPlant UG. All rights reserved.
  3. *
  4. * @APPPLANT_LICENSE_HEADER_START@
  5. *
  6. * This file contains Original Code and/or Modifications of Original Code
  7. * as defined in and that are subject to the Apache License
  8. * Version 2.0 (the 'License'). You may not use this file except in
  9. * compliance with the License. Please obtain a copy of the License at
  10. * http://opensource.org/licenses/Apache-2.0/ and read it before using this
  11. * file.
  12. *
  13. * The Original Code and all software distributed under the License are
  14. * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  15. * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  16. * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  17. * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  18. * Please see the License for the specific language governing rights and
  19. * limitations under the License.
  20. *
  21. * @APPPLANT_LICENSE_HEADER_END@
  22. */
  23. #import <Foundation/Foundation.h>
  24. #import <Cordova/CDVPlugin.h>
  25. @interface APPLocalNotification9 : CDVPlugin
  26. // Execute all queued events
  27. - (void) deviceready:(CDVInvokedUrlCommand*)command;
  28. // Inform if the app has the permission to show notifications
  29. - (void) hasPermission:(CDVInvokedUrlCommand*)command;
  30. // Register permission to show notifications
  31. - (void) registerPermission:(CDVInvokedUrlCommand*)command;
  32. // Schedule set of notifications
  33. - (void) schedule:(CDVInvokedUrlCommand*)command;
  34. // Update set of notifications
  35. - (void) update:(CDVInvokedUrlCommand*)command;
  36. // Cancel set of notifications
  37. - (void) cancel:(CDVInvokedUrlCommand*)command;
  38. // Cancel all notifications
  39. - (void) cancelAll:(CDVInvokedUrlCommand*)command;
  40. // Clear set of notifications
  41. - (void) clear:(CDVInvokedUrlCommand*)command;
  42. // Clear all notifications
  43. - (void) clearAll:(CDVInvokedUrlCommand*)command;
  44. // If a notification with an ID is present
  45. - (void) isPresent:(CDVInvokedUrlCommand*)command;
  46. // If a notification with an ID is scheduled
  47. - (void) isScheduled:(CDVInvokedUrlCommand*)command;
  48. // If a notification with an ID is triggered
  49. - (void) isTriggered:(CDVInvokedUrlCommand*)command;
  50. // List all ids from all local notifications
  51. - (void) getAllIds:(CDVInvokedUrlCommand*)command;
  52. // List all ids from all pending notifications
  53. - (void) getScheduledIds:(CDVInvokedUrlCommand*)command;
  54. // List all ids from all triggered notifications
  55. - (void) getTriggeredIds:(CDVInvokedUrlCommand*)command;
  56. // Propertys for given local notification
  57. - (void) getSingle:(CDVInvokedUrlCommand*)command;
  58. // Propertya for given scheduled notification
  59. - (void) getSingleScheduled:(CDVInvokedUrlCommand*)command;
  60. // Propertys for given triggered notification
  61. - (void) getSingleTriggered:(CDVInvokedUrlCommand*)command;
  62. // Property list for given local notifications
  63. - (void) getAll:(CDVInvokedUrlCommand*)command;
  64. // Property list for given scheduled notifications
  65. - (void) getScheduled:(CDVInvokedUrlCommand*)command;
  66. // Property list for given triggered notifications
  67. - (void) getTriggered:(CDVInvokedUrlCommand*)command;
  68. @end