8#import <Foundation/Foundation.h>
9#import <UserNotifications/UserNotifications.h>
11NS_ASSUME_NONNULL_BEGIN
13typedef 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;
Definition: EMLocalNotificationManager.h:106
instancetype _Nonnull sharedManager()
(unavailable("call sharedManager instead" __attribute__()
Definition: EMLocalNotificationManager.h:25