Notification SDK Client 4.34.0
Loading...
Searching...
No Matches
NotificationSDKClient.h
Go to the documentation of this file.
1
2//
3// Copyright (c) since 1999. VASCO DATA SECURITY
4// All rights reserved. http://www.vasco.com
5//
7#import <Foundation/Foundation.h>
8
9#define NotificationSDKClient_VERSION @"4.34.0"
10
11NS_ASSUME_NONNULL_BEGIN
15NS_REFINED_FOR_SWIFT
16@interface NotificationSDKClient : NSObject
17
18- (instancetype)init NS_UNAVAILABLE;
19+ (instancetype)new NS_UNAVAILABLE;
20
32typedef NS_OPTIONS(NSUInteger, NotificationSDKClientNotificationType) {
33 NotificationSDKClientNotificationTypeNone = 0,
34 NotificationSDKClientNotificationTypeBadge = 1 << 0,
35 NotificationSDKClientNotificationTypeSound = 1 << 1,
36 NotificationSDKClientNotificationTypeAlert = 1 << 2,
37};
38
39
57+ (BOOL)registerNotificationServiceWithNotificationSettings:(NotificationSDKClientNotificationType)notificationType error:(NSError **_Nullable)error;
58
74+ (NSString *_Nullable)getOneSpanNotificationIdentifier:(NSData *)devToken error:(NSError **_Nullable)error;
75
83+ (BOOL)isOneSpanNotification:(NSDictionary *)notification;
84
98+ (NSString *_Nullable)parseOneSpanNotification:(NSDictionary *)notification error:(NSError **_Nullable)error;
99
107+ (NSString *_Nullable)getTitle:(NSDictionary *)notification;
108
116+ (NSString *_Nullable)getSubject:(NSDictionary *)notification;
117
125+ (NSNumber *_Nullable)getBadgeValue:(NSDictionary *)notification;
126
134+ (NSDictionary<NSString *,NSString *> *_Nullable)getCustomAttributes:(NSDictionary *)notification;
135
166@end
167
168NS_ASSUME_NONNULL_END
169
Definition NotificationSDKClient.h:17
typedef NS_OPTIONS(NSUInteger, NotificationSDKClientNotificationType)
Definition NotificationSDKClient.h:32