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 NS_ASSUME_NONNULL_BEGIN
12
13 /**
14  Internal Type exposed to facilitate transition to Swift.
15  API Subject to change or removal without warning. Do not use.
16
17  FBSDKFeature enum
18  Defines features in SDK
19
20  Sample:
21  FBSDKFeatureAppEvents = 0x00010000,
22                             ^ ^ ^ ^
23                             | | | |
24                           kit | | |
25                         feature | |
26                       sub-feature |
27                     sub-sub-feature
28  1st byte: kit
29  2nd byte: feature
30  3rd byte: sub-feature
31  4th byte: sub-sub-feature
32
33  @warning INTERNAL - DO NOT USE
34  */
35 typedef NS_ENUM(NSUInteger, FBSDKFeature) {
36   FBSDKFeatureNone = 0x00000000,
37   // Features in CoreKit
38   /// Essential of CoreKit
39   FBSDKFeatureCore = 0x01000000,
40   /// App Events
41   FBSDKFeatureAppEvents = 0x01010000,
42   FBSDKFeatureCodelessEvents = 0x01010100,
43   FBSDKFeatureRestrictiveDataFiltering = 0x01010200,
44   FBSDKFeatureAAM = 0x01010300,
45   FBSDKFeaturePrivacyProtection = 0x01010400,
46   FBSDKFeatureSuggestedEvents = 0x01010401,
47   FBSDKFeatureIntelligentIntegrity = 0x01010402,
48   FBSDKFeatureModelRequest = 0x01010403,
97fc0a 49   FBSDKFeatureProtectedMode = 0x01010404,
L 50   FBSDKFeatureMACARuleMatching = 0x01010405,
51   FBSDKFeatureBlocklistEvents = 0x01010406,
52   FBSDKFeatureFilterRedactedEvents = 0x01010407,
53   FBSDKFeatureFilterSensitiveParams = 0x01010408,
e0ec42 54   FBSDKFeatureEventDeactivation = 0x01010500,
L 55   FBSDKFeatureSKAdNetwork = 0x01010600,
56   FBSDKFeatureSKAdNetworkConversionValue = 0x01010601,
97fc0a 57   FBSDKFeatureSKAdNetworkV4 = 0x01010602,
e0ec42 58   FBSDKFeatureATELogging = 0x01010700,
L 59   FBSDKFeatureAEM = 0x01010800,
60   FBSDKFeatureAEMConversionFiltering = 0x01010801,
61   FBSDKFeatureAEMCatalogMatching = 0x01010802,
62   FBSDKFeatureAEMAdvertiserRuleMatchInServer = 0x01010803,
63   FBSDKFeatureAEMAutoSetup = 0x01010804,
97fc0a 64   FBSDKFeatureAEMAutoSetupProxy = 0x01010805,
e0ec42 65   FBSDKFeatureAppEventsCloudbridge = 0x01010900,
L 66   /// Instrument
67   FBSDKFeatureInstrument = 0x01020000,
68   FBSDKFeatureCrashReport = 0x01020100,
69   FBSDKFeatureCrashShield = 0x01020101,
70   FBSDKFeatureErrorReport = 0x01020200,
71
72   // Features in LoginKit
73   /// Essential of LoginKit
74   FBSDKFeatureLogin = 0x02000000,
75
76   // Features in ShareKit
77   /// Essential of ShareKit
78   FBSDKFeatureShare = 0x03000000,
79
80   // Features in GamingServicesKit
81   /// Essential of GamingServicesKit
82   FBSDKFeatureGamingServices = 0x04000000,
83 } NS_SWIFT_NAME(SDKFeature);
84
85 /**
86  Internal Type exposed to facilitate transition to Swift.
87  API Subject to change or removal without warning. Do not use.
88
89  @warning INTERNAL - DO NOT USE
90  */
91 typedef void (^FBSDKFeatureManagerBlock)(BOOL enabled);
92
93 NS_ASSUME_NONNULL_END