lpw
2022-02-15 2e29a3a585524a054640bb6e7bdf26fe77ba1f17
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/*
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 * All rights reserved.
 *
 * This source code is licensed under the license found in the
 * LICENSE file in the root directory of this source tree.
 */
 
#import <FBSDKCoreKit/FBSDKAdvertisingTrackingStatus.h>
#import <FBSDKCoreKit/FBSDKLoggingBehavior.h>
 
NS_ASSUME_NONNULL_BEGIN
 
NS_SWIFT_NAME(SettingsProtocol)
@protocol FBSDKSettings
 
@property (nullable, nonatomic, copy) NSString *appID;
@property (nullable, nonatomic, copy) NSString *clientToken;
@property (nullable, nonatomic, copy) NSString *userAgentSuffix;
@property (nonatomic, readonly, copy) NSString *sdkVersion;
@property (nullable, nonatomic, copy) NSString *displayName;
@property (nullable, nonatomic, copy) NSString *facebookDomainPart;
@property (nonnull, nonatomic, copy) NSSet<FBSDKLoggingBehavior> *loggingBehaviors;
@property (class, nonnull, nonatomic, copy) NSSet<FBSDKLoggingBehavior> *loggingBehaviors
  DEPRECATED_MSG_ATTRIBUTE("property class `loggingBehaviors` is deprecated and will be removed in the next major release, please use property instance`loggingBehaviors` instead");
@property (nullable, nonatomic, copy) NSString *appURLSchemeSuffix;
@property (nonatomic, readonly) BOOL isDataProcessingRestricted;
@property (nonatomic, readonly) BOOL isAutoLogAppEventsEnabled;
@property (nonatomic, getter = isCodelessDebugLogEnabled) BOOL codelessDebugLogEnabled;
@property (nonatomic, getter = isAdvertiserIDCollectionEnabled) BOOL advertiserIDCollectionEnabled;
@property (nonatomic, readonly) BOOL isSetATETimeExceedsInstallTime;
@property (nonatomic, readonly) BOOL isSKAdNetworkReportEnabled;
@property (nonatomic, readonly) FBSDKAdvertisingTrackingStatus advertisingTrackingStatus;
@property (nullable, nonatomic, readonly) NSDate *installTimestamp;
@property (nullable, nonatomic, readonly) NSDate *advertiserTrackingEnabledTimestamp;
@property (nonatomic) BOOL isEventDataUsageLimited;
@property (nonatomic) BOOL shouldUseTokenOptimizations;
@property (nonatomic, copy) NSString *graphAPIVersion;
@property (nonatomic) BOOL isGraphErrorRecoveryEnabled;
@property (nullable, nonatomic, readonly, copy) NSString *graphAPIDebugParamValue;
@property (nonatomic, getter = isAdvertiserTrackingEnabled) BOOL advertiserTrackingEnabled;
@property (nonatomic) BOOL shouldUseCachedValuesForExpensiveMetadata;
@property (nullable, nonatomic, readonly) NSDictionary<NSString *, id> *persistableDataProcessingOptions;
 
/**
 Set the data processing options.
 
 @param options list of options
*/
- (void)setDataProcessingOptions:(nullable NSArray<NSString *> *)options;
 
/**
 Set the data processing options.
 
 @param options list of the options
 @param country code of the country
 @param state code of the state
*/
- (void)setDataProcessingOptions:(nullable NSArray<NSString *> *)options
                         country:(int)country
                           state:(int)state;
 
@end
 
NS_ASSUME_NONNULL_END