FBSDKFeatureChecking.h 678 B

1234567891011121314151617181920212223242526272829
  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 <FBSDKCoreKit/FBSDKFeature.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. /**
  11. Internal Type exposed to facilitate transition to Swift.
  12. API Subject to change or removal without warning. Do not use.
  13. @warning INTERNAL - DO NOT USE
  14. */
  15. NS_SWIFT_NAME(FeatureChecking)
  16. @protocol FBSDKFeatureChecking
  17. - (BOOL)isEnabled:(FBSDKFeature)feature;
  18. - (void)checkFeature:(FBSDKFeature)feature
  19. completionBlock:(FBSDKFeatureManagerBlock)completionBlock;
  20. @end
  21. NS_ASSUME_NONNULL_END