JubeatPlus 3.9.11
Loading...
Searching...
No Matches
ApplilinkPasteBoard.h
Go to the documentation of this file.
1
13
14#import <Foundation/Foundation.h>
15
16NS_ASSUME_NONNULL_BEGIN
17
21@interface ApplilinkPasteBoard : NSObject
22
29@property(nonatomic) BOOL nonPasteBoardUdidFlag;
30
38+ (BOOL)validate:(nullable NSDictionary *)dict error:(NSError *_Nullable *_Nullable)error;
39
45- (nullable NSDictionary *)storageData;
46
52- (nullable NSDictionary *)storageDataOld;
53
62- (nullable NSDictionary *)storageDataWithServiceName:(nullable NSString *)serviceName
63 storageIndex:(int)storageIndex
64 error:(NSError *_Nullable *_Nullable)error;
65
73- (nullable NSDictionary *)writeStorageData:(nullable NSString *)udid
74 error:(NSError *_Nullable *_Nullable)error;
75
84- (nullable NSDictionary *)writeStorageData:(nullable NSString *)udid
85 storageIndex:(int)storageIndex
86 error:(NSError *_Nullable *_Nullable)error;
87
95- (BOOL)deleteWithStorageIndex:(int)storageIndex error:(NSError *_Nullable *_Nullable)error;
96
105- (nullable NSDictionary *)convertToData:(nullable NSDictionary *)record
106 serviceName:(nullable NSString *)serviceName
107 storageIndex:(int)storageIndex;
108
114- (NSString *)getServiceName;
115
121- (NSString *)getServiceNameOld;
122
127- (void)debugLog;
128
129@end
130
131NS_ASSUME_NONNULL_END
132
133// code: language=Objective-C
134// kate: hl Objective-C;
135// vim: set ft=objc :
Pasteboard-backed UDID store for the Applilink SDK.
Definition ApplilinkPasteBoard.h:22
NSString * getServiceNameOld()
The pasteboard service name for old-server UDIDs.
Definition ApplilinkPasteBoard.m:340
nullable NSDictionary * storageDataOld()
The stored old-service UDID pasteboard record.
Definition ApplilinkPasteBoard.m:141
void debugLog()
Logs the stored pasteboard UDID values across every current-service slot.
Definition ApplilinkPasteBoard.m:351
nullable NSDictionary * storageData()
The stored current-UDID pasteboard record.
Definition ApplilinkPasteBoard.m:120
NSString * getServiceName()
The pasteboard service name for advertising UDIDs.
Definition ApplilinkPasteBoard.m:331
BOOL nonPasteBoardUdidFlag
Whether the current UDID was resolved from the old-service pasteboard rather than the current one.
Definition ApplilinkPasteBoard.h:29