commit | author | age
|
93c16a
|
1 |
// |
L |
2 |
// AppsFlyerConsent.h |
|
3 |
// AppsFlyerLib |
|
4 |
// |
|
5 |
// Created by Veronica Belyakov on 14/01/2024. |
|
6 |
// |
|
7 |
#import <Foundation/Foundation.h> |
|
8 |
|
|
9 |
NS_ASSUME_NONNULL_BEGIN |
|
10 |
|
|
11 |
@interface AppsFlyerConsent : NSObject <NSCoding> |
|
12 |
|
|
13 |
@property (nonatomic, readonly, assign) BOOL isUserSubjectToGDPR; |
|
14 |
@property (nonatomic, readonly, assign) BOOL hasConsentForDataUsage; |
|
15 |
@property (nonatomic, readonly, assign) BOOL hasConsentForAdsPersonalization; |
|
16 |
|
|
17 |
- (instancetype)init NS_UNAVAILABLE; |
|
18 |
+ (instancetype)new NS_UNAVAILABLE; |
|
19 |
|
|
20 |
- (instancetype)initForGDPRUserWithHasConsentForDataUsage:(BOOL)hasConsentForDataUsage |
|
21 |
hasConsentForAdsPersonalization:(BOOL)hasConsentForAdsPersonalization NS_DESIGNATED_INITIALIZER; |
|
22 |
- (instancetype)initNonGDPRUser NS_DESIGNATED_INITIALIZER; |
|
23 |
|
|
24 |
@end |
|
25 |
|
|
26 |
NS_ASSUME_NONNULL_END |