FBSDKFeatureExtracting.h 788 B

123456789101112131415161718192021222324252627282930313233
  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. #if !TARGET_OS_TV
  9. #import <Foundation/Foundation.h>
  10. NS_ASSUME_NONNULL_BEGIN
  11. /**
  12. Internal type exposed to facilitate transition to Swift.
  13. API Subject to change or removal without warning. Do not use.
  14. @warning INTERNAL - DO NOT USE
  15. */
  16. NS_SWIFT_NAME(_FeatureExtracting)
  17. @protocol FBSDKFeatureExtracting
  18. + (nullable float *)getDenseFeatures:(NSDictionary<NSString *, id> *)viewHierarchy;
  19. + (NSString *)getTextFeature:(NSString *)text
  20. withScreenName:(NSString *)screenName;
  21. + (void)loadRulesForKey:(NSString *)useCaseKey;
  22. @end
  23. NS_ASSUME_NONNULL_END
  24. #endif