xref: /expo/packages/expo-notifications/ios/EXNotifications/Notifications/Categories/EXNotificationCategoriesModule.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 <EXNotifications/EXNotificationsDelegate.h>
5 
6 @interface EXNotificationCategoriesModule : EXExportedModule <EXNotificationsDelegate>
7 
8 - (void)getNotificationCategoriesAsyncWithResolver:(EXPromiseResolveBlock)resolve reject:(EXPromiseRejectBlock)reject;
9 - (void)setNotificationCategoryWithCategoryId:(NSString *)categoryId
10                                       actions:(NSArray *)actions
11                                       options:(NSDictionary *)options
12                                       resolve:(EXPromiseResolveBlock)resolve
13                                        reject:(EXPromiseRejectBlock)reject;
14 - (void)deleteNotificationCategoryWithCategoryId:(NSString *)categoryId
15                                          resolve:(EXPromiseResolveBlock)resolve
16                                           reject:(EXPromiseRejectBlock)reject;
17 - (NSMutableDictionary *)serializeCategory:(UNNotificationCategory *)category;
18 - (UNNotificationCategory *)createCategoryWithId:(NSString*)categoryId
19                                          actions:(NSArray *)actions
20                                          options:(NSDictionary *)options;
21 - (NSMutableDictionary *)serializeCategoryOptions:(UNNotificationCategory *)category;
22 - (NSMutableArray *)serializeActions:(NSArray<UNNotificationAction *>*)actions;
23 - (NSMutableDictionary *)serializeActionOptions:(NSUInteger)options;
24 
25 @end
26 

served by {OpenGrok

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