8 #import <Foundation/Foundation.h>
9 #import <UserNotifications/UserNotifications.h>
11 NS_ASSUME_NONNULL_BEGIN
13 typedef NS_ENUM(NSInteger, EMNotificationState) {
14 EMWillPresentNotification = 0,
15 EMDidReceiveNotificationResponse
39 - (void)emuserNotificationCenter:(UNUserNotificationCenter *)center willPresentNotification:(UNNotification *)notification withCompletionHandler:(
void (^)(UNNotificationPresentationOptions options))completionHandler;
51 - (void)emuserNotificationCenter:(UNUserNotificationCenter *)center didReceiveNotificationResponse:(UNNotificationResponse *)response withCompletionHandler:(
void(^)(
void))completionHandler;
61 - (void)emuserNotificationCenter:(UNUserNotificationCenter *)center openSettingsForNotification:(UNNotification *)notification;
72 - (void)emGetNotificationMessage:(UNNotification*)notification state:(EMNotificationState)state;
83 - (void)emHandleNotificationContent:(UNMutableNotificationContent*)content;
94 - (void)emDidRecivePushSilentMessage:(NSDictionary *)messageDic;
178 - (void)userNotificationCenter:(UNUserNotificationCenter *)center willPresentNotification:(UNNotification *)notification withCompletionHandler:(
void (^)(UNNotificationPresentationOptions options))completionHandler;
190 - (void)userNotificationCenter:(UNUserNotificationCenter *)center didReceiveNotificationResponse:(UNNotificationResponse *)response withCompletionHandler:(
void(^)(
void))completionHandler;
193 NS_ASSUME_NONNULL_END
Definition: EMLocalNotificationManager.h:25
Definition: EMLocalNotificationManager.h:105
instancetype _Nonnull sharedManager()
(unavailable("call sharedManager instead" __attribute__()