lpw
2024-04-15 97fc0a41111c5a929ee8be9d6511775697ffa760
commit | author | age
e0ec42 1 /*
L 2  * Copyright (c) Meta Platforms, Inc. and affiliates.
3  * All rights reserved.
4  *
5  * This source code is licensed under the license found in the
6  * LICENSE file in the root directory of this source tree.
7  */
8
9 #import <Foundation/Foundation.h>
10
11 #import <FBSDKCoreKit/FBSDKAdvertisingTrackingStatus.h>
12 #import <FBSDKCoreKit/FBSDKAppEventsConfigurationProtocol.h>
13
14 NS_ASSUME_NONNULL_BEGIN
15
16 /**
17  Internal type exposed to facilitate transition to Swift.
18  API Subject to change or removal without warning. Do not use.
19
20  @warning INTERNAL - DO NOT USE
21  */
22 NS_SWIFT_NAME(_AppEventsConfiguration)
23 @interface FBSDKAppEventsConfiguration : NSObject <NSCopying, NSObject, NSSecureCoding, FBSDKAppEventsConfiguration>
24
25 @property (nonatomic, readonly, assign) FBSDKAdvertisingTrackingStatus defaultATEStatus;
26 @property (nonatomic, readonly, assign) BOOL advertiserIDCollectionEnabled;
27 @property (nonatomic, readonly, assign) BOOL eventCollectionEnabled;
28
29 - (instancetype)init NS_UNAVAILABLE;
30 + (instancetype)new NS_UNAVAILABLE;
31
32 - (instancetype)initWithJSON:(nullable NSDictionary<NSString *, id> *)dict;
33
34 + (instancetype)defaultConfiguration;
35
36 @end
37
38 NS_ASSUME_NONNULL_END