lpw
2023-06-03 e0ec4235cc7b8d05ec1aaa414ec2d2cac798d74e
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