lpw
2023-07-20 80f7cc0c18ce7e590a4c14cd1011a82b296770f5
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