FBSDKGateKeeperManaging.h 625 B

12345678910111213141516171819202122232425
  1. /*
  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. #import <Foundation/Foundation.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. typedef void (^FBSDKGKManagerBlock)(NSError *_Nullable error);
  11. NS_SWIFT_NAME(_GateKeeperManaging)
  12. @protocol FBSDKGateKeeperManaging
  13. /// Returns the bool value of a GateKeeper.
  14. + (BOOL)boolForKey:(nonnull NSString *)key defaultValue:(BOOL)defaultValue;
  15. + (void)loadGateKeepers:(nonnull FBSDKGKManagerBlock)completionBlock;
  16. @end
  17. NS_ASSUME_NONNULL_END