lpw
2024-06-28 2a6e182ea4428bff2e16f033c28850f3a02a93a9
commit | author | age
2e29a3 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
e0ec42 38   /// Essential of CoreKit
2e29a3 39   FBSDKFeatureCore = 0x01000000,
e0ec42 40   /// App Events
2e29a3 41   FBSDKFeatureAppEvents = 0x01010000,
L 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,
2e29a3 54   FBSDKFeatureEventDeactivation = 0x01010500,
L 55   FBSDKFeatureSKAdNetwork = 0x01010600,
56   FBSDKFeatureSKAdNetworkConversionValue = 0x01010601,
97fc0a 57   FBSDKFeatureSKAdNetworkV4 = 0x01010602,
2e29a3 58   FBSDKFeatureATELogging = 0x01010700,
L 59   FBSDKFeatureAEM = 0x01010800,
e0ec42 60   FBSDKFeatureAEMConversionFiltering = 0x01010801,
L 61   FBSDKFeatureAEMCatalogMatching = 0x01010802,
62   FBSDKFeatureAEMAdvertiserRuleMatchInServer = 0x01010803,
63   FBSDKFeatureAEMAutoSetup = 0x01010804,
97fc0a 64   FBSDKFeatureAEMAutoSetupProxy = 0x01010805,
e0ec42 65   FBSDKFeatureAppEventsCloudbridge = 0x01010900,
L 66   /// Instrument
2e29a3 67   FBSDKFeatureInstrument = 0x01020000,
L 68   FBSDKFeatureCrashReport = 0x01020100,
69   FBSDKFeatureCrashShield = 0x01020101,
70   FBSDKFeatureErrorReport = 0x01020200,
71
72   // Features in LoginKit
e0ec42 73   /// Essential of LoginKit
2e29a3 74   FBSDKFeatureLogin = 0x02000000,
L 75
76   // Features in ShareKit
e0ec42 77   /// Essential of ShareKit
2e29a3 78   FBSDKFeatureShare = 0x03000000,
L 79
80   // Features in GamingServicesKit
e0ec42 81   /// Essential of GamingServicesKit
2e29a3 82   FBSDKFeatureGamingServices = 0x04000000,
L 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