lpw
2024-06-28 2a6e182ea4428bff2e16f033c28850f3a02a93a9
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 typedef void (^FBSDKGKManagerBlock)(NSError *_Nullable error);
14
15 NS_SWIFT_NAME(_GateKeeperManaging)
16 @protocol FBSDKGateKeeperManaging
17
18 /// Returns the bool value of a GateKeeper.
19 + (BOOL)boolForKey:(nonnull NSString *)key defaultValue:(BOOL)defaultValue;
20
21 + (void)loadGateKeepers:(nonnull FBSDKGKManagerBlock)completionBlock;
22
23 @end
24
25 NS_ASSUME_NONNULL_END