spm仓库支持,通用仓库
lpw
2 days ago 3f21f1e4d3d5e22d57ec392c41098841e8b0784d
WAFbImpl/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-Swift.h
@@ -1,6 +1,6 @@
#if 0
#elif defined(__arm64__) && __arm64__
// Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)
// Generated by Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
#ifndef FBSDKCOREKIT_SWIFT_H
#define FBSDKCOREKIT_SWIFT_H
#pragma clang diagnostic push
@@ -65,6 +65,7 @@
# if __has_include(<uchar.h>)
#  include <uchar.h>
# elif !defined(__cplusplus)
typedef unsigned char char8_t;
typedef uint_least16_t char16_t;
typedef uint_least32_t char32_t;
# endif
@@ -313,10 +314,10 @@
#endif
#if defined(__OBJC__)
@class NSString;
@class NSNumber;
@class NSURL;
/// Internal Type exposed to facilitate transition to Swift.
/// API Subject to change or removal without warning. Do not use.
/// @warning INTERNAL - DO NOT USE
@@ -330,14 +331,10 @@
+ (void)handle:(NSURL * _Nullable)url;
@end
@interface FBAEMReporter (SWIFT_EXTENSION(FBSDKCoreKit)) <FBSDKAEMReporter>
@end
@protocol FBSDKAppLinkTarget;
/// Contains App Link metadata relevant for navigation on this device
/// derived from the HTML at a given URL.
SWIFT_CLASS_NAMED("AppLink")
@@ -389,7 +386,6 @@
@protocol FBSDKAppLinkResolving;
@protocol FBSDKSettings;
/// Represents a pending request to navigate to an app link. Instead of simplying opening a URL, you can build custom requests with additional navigation and app data attached to them by creating an <code>AppLinkNavigation</code>.
SWIFT_CLASS_NAMED("AppLinkNavigation") SWIFT_AVAILABILITY(ios_app_extension,unavailable,message="Not available in app extension")
@interface FBSDKAppLinkNavigation : NSObject
@@ -439,8 +435,6 @@
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
/// Provides an implementation of the AppLinkResolving protocol that uses the Facebook App Link
/// Index API to resolve App Links given a URL. It also provides an additional helper method that can resolve
/// multiple App Links in a single call.
@@ -453,8 +447,6 @@
- (void)appLinksFrom:(NSArray<NSURL *> * _Nonnull)urls handler:(FBSDKAppLinksBlock _Nonnull)handler SWIFT_AVAILABILITY(ios_app_extension,unavailable,message="Not available in app extension");
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
/// Represents a target defined in App Link metadata, consisting of at least
/// a URL, and optionally an App Store ID and name.
@@ -477,7 +469,6 @@
@class UIApplication;
@class NSUserActivity;
@protocol FBSDKApplicationObserving;
/// An <code>ApplicationDelegate</code> is designed to post-process the results from Facebook Login
/// or Facebook Dialogs (or any action that requires switching over to the native Facebook
/// app or Safari).
@@ -555,7 +546,6 @@
- (void)removeObserver:(id <FBSDKApplicationObserving> _Nonnull)observer;
@end
SWIFT_CLASS_NAMED("AuthenticationTokenClaims")
@interface FBSDKAuthenticationTokenClaims : NSObject
/// Internal method exposed to facilitate transition to Swift.
@@ -566,9 +556,7 @@
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@protocol FBSDKGraphRequestFactory;
SWIFT_PROTOCOL_NAMED("CAPIReporter")
@protocol FBSDKCAPIReporter
- (void)enable;
@@ -577,7 +565,6 @@
@end
@protocol FBSDKInternalURLOpener;
/// Internal type exposed to facilitate transition to Swift.
/// API Subject to change or removal without warning. Do not use.
/// @warning INTERNAL - DO NOT USE
@@ -590,7 +577,6 @@
@class UIImage;
@class UIColor;
/// Internal Type exposed to facilitate transition to Swift.
/// API Subject to change or removal without warning. Do not use.
/// @warning INTERNAL - DO NOT USE
@@ -606,7 +592,6 @@
enum FBSDKProfilePictureMode : NSUInteger;
@class FBSDKProfile;
@class NSCoder;
/// A view to display a profile picture.
SWIFT_CLASS_NAMED("FBProfilePictureView")
@interface FBSDKProfilePictureView : UIView
@@ -639,7 +624,6 @@
- (void)setNeedsImageUpdate;
@end
SWIFT_CLASS("_TtC12FBSDKCoreKit25FBSDKAppEventsCAPIManager")
@interface FBSDKAppEventsCAPIManager : NSObject <FBSDKCAPIReporter>
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FBSDKAppEventsCAPIManager * _Nonnull shared;)
@@ -650,7 +634,6 @@
- (void)recordEvent:(NSDictionary<NSString *, id> * _Nonnull)parameters;
@end
SWIFT_CLASS("_TtC12FBSDKCoreKit35FBSDKTransformerGraphRequestFactory")
@interface FBSDKTransformerGraphRequestFactory : NSObject
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FBSDKTransformerGraphRequestFactory * _Nonnull shared;)
@@ -659,7 +642,6 @@
- (void)configureWithDatasetID:(NSString * _Nonnull)datasetID url:(NSString * _Nonnull)url accessKey:(NSString * _Nonnull)accessKey;
- (void)callCapiGatewayAPIWith:(NSDictionary<NSString *, id> * _Nonnull)parameters userAgent:(NSString * _Nonnull)userAgent;
@end
SWIFT_PROTOCOL_NAMED("MACARuleMatching")
@protocol FBSDKMACARuleMatching
@@ -670,7 +652,6 @@
@class NSDate;
@class FBSDKUserAgeRange;
@class FBSDKLocation;
/// Represents an immutable Facebook profile.
/// This class provides a global current profile instance to more easily
/// add social context to your application. When the profile changes, a notification is
@@ -856,7 +837,6 @@
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@interface FBSDKProfile (SWIFT_EXTENSION(FBSDKCoreKit))
/// A convenience method for returning a complete <code>URL</code> for retrieving the user’s profile image.
/// \param pictureMode The picture mode.
@@ -880,8 +860,6 @@
  FBSDKProfilePictureModeLarge = 4,
};
/// Internal type exposed to facilitate transition to Swift.
/// API Subject to change or removal without warning. Do not use.
/// @warning INTERNAL - DO NOT USE
@@ -893,7 +871,6 @@
+ (FBSDKProfile * _Nullable)fetchCachedProfile SWIFT_WARN_UNUSED_RESULT;
@end
@interface FBSDKProfile (SWIFT_EXTENSION(FBSDKCoreKit)) <FBSDKProfileProviding>
/// The current profile.
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) FBSDKProfile * _Nullable currentProfile;)
@@ -902,14 +879,12 @@
+ (nullable instancetype)fetchCachedProfile SWIFT_WARN_UNUSED_RESULT;
@end
@interface FBSDKProfile (SWIFT_EXTENSION(FBSDKCoreKit)) <NSSecureCoding>
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) BOOL supportsSecureCoding;)
+ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)decoder;
- (void)encodeWithCoder:(NSCoder * _Nonnull)encoder;
@end
@interface FBSDKProfile (SWIFT_EXTENSION(FBSDKCoreKit))
/// Loads the current profile and passes it to the completion block.
@@ -924,8 +899,6 @@
+ (void)loadCurrentProfileWithCompletion:(FBSDKProfileBlock _Nullable)completion;
@end
SWIFT_CLASS_NAMED("ProtectedModeManager")
@interface FBSDKProtectedModeManager : NSObject <FBSDKAppEventsParameterProcessing>
- (void)enable;
@@ -934,10 +907,6 @@
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
/// Internal Type exposed to facilitate transition to Swift.
/// API Subject to change or removal without warning. Do not use.
/// @warning INTERNAL - DO NOT USE
@@ -945,7 +914,6 @@
@interface ServerConfigurationProvider : NSObject
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
/// Internal type exposed to facilitate transition to Swift.
/// API Subject to change or removal without warning. Do not use.
@@ -996,7 +964,6 @@
///
- (void)setDataProcessingOptions:(NSArray<NSString *> * _Nullable)options country:(int32_t)country state:(int32_t)state;
@end
SWIFT_CLASS_NAMED("Settings")
@interface FBSDKSettings : NSObject <FBSDKSettingsLogging, FBSDKSettings, FBSDKClientTokenProviding>
@@ -1158,12 +1125,6 @@
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
@interface FBSDKSettings (SWIFT_EXTENSION(FBSDKCoreKit))
/// Internal method exposed to facilitate transition to Swift.
/// API Subject to change or removal without warning. Do not use.
@@ -1179,9 +1140,7 @@
- (void)logIfSDKSettingsChanged;
@end
@class NSURLRequest;
/// Internal class exposed to facilitate transition to Swift.
/// API Subject to change or removal without warning. Do not use.
/// @warning INTERNAL - DO NOT USE
@@ -1194,8 +1153,6 @@
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
/// Internal Type exposed to facilitate transition to Swift.
/// API Subject to change or removal without warning. Do not use.
/// @warning INTERNAL - DO NOT USE
@@ -1205,7 +1162,6 @@
@protocol _FBSDKNotificationPosting;
@protocol FBSDKNotificationDelivering;
/// Internal Type exposed to facilitate transition to Swift.
/// API Subject to change or removal without warning. Do not use.
/// @warning INTERNAL - DO NOT USE
@@ -1216,9 +1172,7 @@
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@class FBSDKContainerViewController;
/// Internal Type exposed to facilitate transition to Swift.
/// API Subject to change or removal without warning. Do not use.
/// @warning INTERNAL - DO NOT USE
@@ -1230,13 +1184,11 @@
@end
@class SFSafariViewController;
@interface _BridgeAPI (SWIFT_EXTENSION(FBSDKCoreKit))
- (void)safariViewControllerDidFinish:(SFSafariViewController * _Nonnull)safariViewController;
@end
@class ASWebAuthenticationSession;
SWIFT_AVAILABILITY(ios,introduced=13)
@interface _BridgeAPI (SWIFT_EXTENSION(FBSDKCoreKit)) <ASWebAuthenticationPresentationContextProviding>
- (ASPresentationAnchor _Nonnull)presentationAnchorForWebAuthenticationSession:(ASWebAuthenticationSession * _Nonnull)session SWIFT_WARN_UNUSED_RESULT;
@@ -1245,13 +1197,11 @@
@protocol FBSDKURLOpening;
@protocol FBSDKBridgeAPIRequest;
@class UIViewController;
@interface _BridgeAPI (SWIFT_EXTENSION(FBSDKCoreKit))
- (void)openURL:(NSURL * _Nonnull)url sender:(id <FBSDKURLOpening> _Nullable)sender handler:(FBSDKSuccessBlock _Nonnull)handler;
- (void)openBridgeAPIRequest:(id <FBSDKBridgeAPIRequest> _Nonnull)request useSafariViewController:(BOOL)useSafariViewController fromViewController:(UIViewController * _Nullable)fromViewController completionBlock:(FBSDKBridgeAPIResponseBlock _Nonnull)completionBlock;
- (void)openURLWithSafariViewController:(NSURL * _Nonnull)url sender:(id <FBSDKURLOpening> _Nullable)sender fromViewController:(UIViewController * _Nullable)fromViewController handler:(FBSDKSuccessBlock _Nonnull)handler;
@end
@interface _BridgeAPI (SWIFT_EXTENSION(FBSDKCoreKit))
- (void)applicationWillResignActive:(UIApplication * _Nullable)application;
@@ -1262,7 +1212,6 @@
@end
@protocol FBSDKPasteboard;
/// Internal Type exposed to facilitate transition to Swift.
/// API Subject to change or removal without warning. Do not use.
/// @warning INTERNAL - DO NOT USE
@@ -1276,8 +1225,6 @@
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
/// Internal Type exposed to facilitate transition to Swift.
/// API Subject to change or removal without warning. Do not use.
/// @warning INTERNAL - DO NOT USE
@@ -1288,7 +1235,6 @@
@end
@class FBSDKDialogConfiguration;
/// Internal Type exposed to facilitate transition to Swift.
/// API Subject to change or removal without warning. Do not use.
/// @warning INTERNAL - DO NOT USE
@@ -1297,7 +1243,6 @@
- (NSDictionary<NSString *, FBSDKDialogConfiguration *> * _Nonnull)buildDialogConfigurationMapWithRawConfigurations:(NSArray<NSDictionary<NSString *, id> *> * _Nonnull)rawConfigurations SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
/// Internal type exposed to facilitate transition to Swift.
/// API Subject to change or removal without warning. Do not use.
@@ -1314,8 +1259,6 @@
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
/// Internal Type exposed to facilitate transition to Swift.
/// API Subject to change or removal without warning. Do not use.
/// @warning INTERNAL - DO NOT USE
@@ -1325,7 +1268,6 @@
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
/// Internal Type exposed to facilitate transition to Swift.
/// API Subject to change or removal without warning. Do not use.
/// @warning INTERNAL - DO NOT USE
@@ -1334,7 +1276,6 @@
- (CGPathRef _Nullable)pathWith:(CGSize)size SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
/// Internal Type exposed to facilitate transition to Swift.
/// API Subject to change or removal without warning. Do not use.
@@ -1349,8 +1290,6 @@
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
/// Internal Type exposed to facilitate transition to Swift.
/// API Subject to change or removal without warning. Do not use.
/// @warning INTERNAL - DO NOT USE
@@ -1359,7 +1298,6 @@
- (CGPathRef _Nullable)pathWith:(CGSize)size SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
/// Internal Type exposed to facilitate transition to Swift.
/// API Subject to change or removal without warning. Do not use.
@@ -1372,12 +1310,11 @@
@class SKPaymentQueue;
@protocol FBSDKPaymentProductRequestorCreating;
/// Internal Type exposed to facilitate transition to Swift.
/// API Subject to change or removal without warning. Do not use.
/// @warning INTERNAL - DO NOT USE
/// Class to encapsulate implicit logging of purchase events
SWIFT_CLASS_NAMED("_PaymentObserver")
SWIFT_CLASS_NAMED("_PaymentObserver") SWIFT_AVAILABILITY(ios,deprecated=18.0)
@interface FBSDKPaymentObserver : NSObject <FBSDKPaymentObserving>
- (nonnull instancetype)initWithPaymentQueue:(SKPaymentQueue * _Nonnull)paymentQueue paymentProductRequestorFactory:(id <FBSDKPaymentProductRequestorCreating> _Nonnull)paymentProductRequestorFactory OBJC_DESIGNATED_INITIALIZER;
- (void)startObservingTransactions;
@@ -1387,23 +1324,20 @@
@end
@class SKPaymentTransaction;
SWIFT_AVAILABILITY(ios,deprecated=18.0)
@interface FBSDKPaymentObserver (SWIFT_EXTENSION(FBSDKCoreKit)) <SKPaymentTransactionObserver>
- (void)paymentQueue:(SKPaymentQueue * _Nonnull)queue updatedTransactions:(NSArray<SKPaymentTransaction *> * _Nonnull)transactions;
@end
@class FBSDKPaymentProductRequestor;
/// Internal Type exposed to facilitate transition to Swift.
/// API Subject to change or removal without warning. Do not use.
/// @warning INTERNAL - DO NOT USE
SWIFT_CLASS_NAMED("_PaymentProductRequestorFactory")
SWIFT_CLASS_NAMED("_PaymentProductRequestorFactory") SWIFT_AVAILABILITY(ios,deprecated=18.0)
@interface FBSDKPaymentProductRequestorFactory : NSObject <FBSDKPaymentProductRequestorCreating>
- (FBSDKPaymentProductRequestor * _Nonnull)createRequestorWithTransaction:(SKPaymentTransaction * _Nonnull)transaction SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
/// Internal Type exposed to facilitate transition to Swift.
/// API Subject to change or removal without warning. Do not use.
@@ -1417,7 +1351,6 @@
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
/// Internal Type exposed to facilitate transition to Swift.
/// API Subject to change or removal without warning. Do not use.
/// @warning INTERNAL - DO NOT USE
@@ -1429,7 +1362,6 @@
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
/// Internal Type exposed to facilitate transition to Swift.
/// API Subject to change or removal without warning. Do not use.
@@ -1443,9 +1375,7 @@
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@protocol FBSDKWebDialogDelegate;
/// Internal Type exposed to facilitate transition to Swift.
/// API Subject to change or removal without warning. Do not use.
/// @warning INTERNAL - DO NOT USE
@@ -1461,7 +1391,6 @@
@end
@class FBSDKWebDialogView;
@interface FBSDKWebDialog (SWIFT_EXTENSION(FBSDKCoreKit)) <FBSDKWebDialogViewDelegate>
- (void)webDialogView:(FBSDKWebDialogView * _Nonnull)webDialogView didCompleteWithResults:(NSDictionary<NSString *, id> * _Nonnull)results;
- (void)webDialogView:(FBSDKWebDialogView * _Nonnull)webDialogView didFailWithError:(NSError * _Nonnull)error;
@@ -1469,9 +1398,7 @@
- (void)webDialogViewDidFinishLoad:(FBSDKWebDialogView * _Nonnull)webDialogView;
@end
@protocol FBSDKWebView;
/// Internal Type exposed to facilitate transition to Swift.
/// API Subject to change or removal without warning. Do not use.
/// @warning INTERNAL - DO NOT USE