forked from Countly/countly-sdk-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CountlyNotificationService.h
33 lines (25 loc) · 1004 Bytes
/
CountlyNotificationService.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// CountlyNotificationService.h
//
// This code is provided under the MIT License.
//
// Please visit www.count.ly for more information.
#import <Foundation/Foundation.h>
#if (TARGET_OS_IOS)
#import <UserNotifications/UserNotifications.h>
#endif
NS_ASSUME_NONNULL_BEGIN
extern NSString* const kCountlyActionIdentifier;
extern NSString* const kCountlyPNKeyCountlyPayload;
extern NSString* const kCountlyPNKeyNotificationID;
extern NSString* const kCountlyPNKeyButtons;
extern NSString* const kCountlyPNKeyDefaultURL;
extern NSString* const kCountlyPNKeyAttachment;
extern NSString* const kCountlyPNKeyActionButtonIndex;
extern NSString* const kCountlyPNKeyActionButtonTitle;
extern NSString* const kCountlyPNKeyActionButtonURL;
@interface CountlyNotificationService : NSObject
#if (TARGET_OS_IOS)
+ (void)didReceiveNotificationRequest:(UNNotificationRequest *)request withContentHandler:(void (^)(UNNotificationContent *))contentHandler API_AVAILABLE(ios(10.0));
#endif
NS_ASSUME_NONNULL_END
@end