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 |
|
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, |
|
49 |
FBSDKFeatureEventDeactivation = 0x01010500, |
|
50 |
FBSDKFeatureSKAdNetwork = 0x01010600, |
|
51 |
FBSDKFeatureSKAdNetworkConversionValue = 0x01010601, |
|
52 |
FBSDKFeatureATELogging = 0x01010700, |
|
53 |
FBSDKFeatureAEM = 0x01010800, |
|
54 |
FBSDKFeatureAEMCatalogReport = 0x01010801, |
|
55 |
/** Instrument */ |
|
56 |
FBSDKFeatureInstrument = 0x01020000, |
|
57 |
FBSDKFeatureCrashReport = 0x01020100, |
|
58 |
FBSDKFeatureCrashShield = 0x01020101, |
|
59 |
FBSDKFeatureErrorReport = 0x01020200, |
|
60 |
|
|
61 |
// Features in LoginKit |
|
62 |
/** Essential of LoginKit */ |
|
63 |
FBSDKFeatureLogin = 0x02000000, |
|
64 |
|
|
65 |
// Features in ShareKit |
|
66 |
/** Essential of ShareKit */ |
|
67 |
FBSDKFeatureShare = 0x03000000, |
|
68 |
|
|
69 |
// Features in GamingServicesKit |
|
70 |
/** Essential of GamingServicesKit */ |
|
71 |
FBSDKFeatureGamingServices = 0x04000000, |
|
72 |
} NS_SWIFT_NAME(SDKFeature); |
|
73 |
|
|
74 |
/** |
|
75 |
Internal Type exposed to facilitate transition to Swift. |
|
76 |
API Subject to change or removal without warning. Do not use. |
|
77 |
|
|
78 |
@warning INTERNAL - DO NOT USE |
|
79 |
*/ |
|
80 |
typedef void (^FBSDKFeatureManagerBlock)(BOOL enabled); |
|
81 |
|
|
82 |
NS_ASSUME_NONNULL_END |