xref: /expo/packages/expo-notifications/ios/EXNotifications/Notifications/Scheduling/EXNotificationSchedulerModule.h (revision efd75dec)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2018-present 650 Industries. All rights reserved.
2 
3 #import <ExpoModulesCore/EXExportedModule.h>
4 #import <ExpoModulesCore/EXModuleRegistryConsumer.h>
5 #import <UserNotifications/UserNotifications.h>
6 
7 NS_ASSUME_NONNULL_BEGIN
8 
9 @interface EXNotificationSchedulerModule : EXExportedModule <EXModuleRegistryConsumer>
10 
11 - (NSArray * _Nonnull)serializeNotificationRequests:(NSArray<UNNotificationRequest *> * _Nonnull) requests;
12 
13 - (void)cancelNotification:(NSString *)identifier resolve:(EXPromiseResolveBlock)resolve rejecting:(EXPromiseRejectBlock)reject;
14 
15 - (void)cancelAllNotificationsWithResolver:(EXPromiseResolveBlock)resolve rejecting:(EXPromiseRejectBlock)reject;
16 
17 - (UNNotificationRequest *)buildNotificationRequestWithIdentifier:(NSString *)identifier content:(NSDictionary *)contentInput trigger:(NSDictionary *)triggerInput;
18 
19 @end
20 
21 NS_ASSUME_NONNULL_END
22 

served by {OpenGrok

Last Index Update: Tue Oct 21 18:42:31 GMT 2025