lpw
2 days ago e1c823bb42a030dbc351c2a9f542fa3afddf2dd0
frameworks/FBSDKGamingServicesKit.xcframework/ios-arm64/FBSDKGamingServicesKit.framework/Headers/FBSDKGamingServicesKit-Swift.h
@@ -1,6 +1,6 @@
#if 0
#elif defined(__arm64__) && __arm64__
// Generated by Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)
// Generated by Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
#ifndef FBSDKGAMINGSERVICESKIT_SWIFT_H
#define FBSDKGAMINGSERVICESKIT_SWIFT_H
#pragma clang diagnostic push
@@ -23,7 +23,6 @@
# include <swift/objc-prologue.h>
#endif
#pragma clang diagnostic ignored "-Wduplicate-method-match"
#pragma clang diagnostic ignored "-Wauto-import"
#if defined(__OBJC__)
#include <Foundation/Foundation.h>
@@ -32,10 +31,33 @@
#include <cstdint>
#include <cstddef>
#include <cstdbool>
#include <cstring>
#include <stdlib.h>
#include <new>
#include <type_traits>
#else
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#include <string.h>
#endif
#if defined(__cplusplus)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
#if defined(__arm64e__) && __has_include(<ptrauth.h>)
# include <ptrauth.h>
#else
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wreserved-macro-identifier"
# ifndef __ptrauth_swift_value_witness_function_pointer
#  define __ptrauth_swift_value_witness_function_pointer(x)
# endif
# ifndef __ptrauth_swift_class_method_pointer
#  define __ptrauth_swift_class_method_pointer(x)
# endif
#pragma clang diagnostic pop
#endif
#pragma clang diagnostic pop
#endif
#if !defined(SWIFT_TYPEDEFS)
@@ -43,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
@@ -71,53 +94,66 @@
# if __has_feature(objc_class_property)
#  define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
# else
#  define SWIFT_CLASS_PROPERTY(...)
#  define SWIFT_CLASS_PROPERTY(...)
# endif
#endif
#if __has_attribute(objc_runtime_name)
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
#else
# define SWIFT_RUNTIME_NAME(X)
#if !defined(SWIFT_RUNTIME_NAME)
# if __has_attribute(objc_runtime_name)
#  define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
# else
#  define SWIFT_RUNTIME_NAME(X)
# endif
#endif
#if __has_attribute(swift_name)
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
#else
# define SWIFT_COMPILE_NAME(X)
#if !defined(SWIFT_COMPILE_NAME)
# if __has_attribute(swift_name)
#  define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
# else
#  define SWIFT_COMPILE_NAME(X)
# endif
#endif
#if __has_attribute(objc_method_family)
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
#else
# define SWIFT_METHOD_FAMILY(X)
#if !defined(SWIFT_METHOD_FAMILY)
# if __has_attribute(objc_method_family)
#  define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
# else
#  define SWIFT_METHOD_FAMILY(X)
# endif
#endif
#if __has_attribute(noescape)
# define SWIFT_NOESCAPE __attribute__((noescape))
#else
# define SWIFT_NOESCAPE
#if !defined(SWIFT_NOESCAPE)
# if __has_attribute(noescape)
#  define SWIFT_NOESCAPE __attribute__((noescape))
# else
#  define SWIFT_NOESCAPE
# endif
#endif
#if __has_attribute(ns_consumed)
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
#else
# define SWIFT_RELEASES_ARGUMENT
#if !defined(SWIFT_RELEASES_ARGUMENT)
# if __has_attribute(ns_consumed)
#  define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
# else
#  define SWIFT_RELEASES_ARGUMENT
# endif
#endif
#if __has_attribute(warn_unused_result)
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
#else
# define SWIFT_WARN_UNUSED_RESULT
#if !defined(SWIFT_WARN_UNUSED_RESULT)
# if __has_attribute(warn_unused_result)
#  define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
# else
#  define SWIFT_WARN_UNUSED_RESULT
# endif
#endif
#if __has_attribute(noreturn)
# define SWIFT_NORETURN __attribute__((noreturn))
#else
# define SWIFT_NORETURN
#if !defined(SWIFT_NORETURN)
# if __has_attribute(noreturn)
#  define SWIFT_NORETURN __attribute__((noreturn))
# else
#  define SWIFT_NORETURN
# endif
#endif
#if !defined(SWIFT_CLASS_EXTRA)
# define SWIFT_CLASS_EXTRA
# define SWIFT_CLASS_EXTRA
#endif
#if !defined(SWIFT_PROTOCOL_EXTRA)
# define SWIFT_PROTOCOL_EXTRA
# define SWIFT_PROTOCOL_EXTRA
#endif
#if !defined(SWIFT_ENUM_EXTRA)
# define SWIFT_ENUM_EXTRA
# define SWIFT_ENUM_EXTRA
#endif
#if !defined(SWIFT_CLASS)
# if __has_attribute(objc_subclassing_restricted)
@@ -137,28 +173,25 @@
#  define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
# endif
#endif
#if !defined(SWIFT_PROTOCOL)
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
#endif
#if !defined(SWIFT_EXTENSION)
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
#endif
#if !defined(OBJC_DESIGNATED_INITIALIZER)
# if __has_attribute(objc_designated_initializer)
#  define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
# else
#  define OBJC_DESIGNATED_INITIALIZER
#  define OBJC_DESIGNATED_INITIALIZER
# endif
#endif
#if !defined(SWIFT_ENUM_ATTR)
# if defined(__has_attribute) && __has_attribute(enum_extensibility)
# if __has_attribute(enum_extensibility)
#  define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
# else
#  define SWIFT_ENUM_ATTR(_extensibility)
#  define SWIFT_ENUM_ATTR(_extensibility)
# endif
#endif
#if !defined(SWIFT_ENUM)
@@ -187,14 +220,16 @@
#if !defined(SWIFT_DEPRECATED_MSG)
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
#endif
#if __has_feature(attribute_diagnose_if_objc)
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
#else
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
#if !defined(SWIFT_DEPRECATED_OBJC)
# if __has_feature(attribute_diagnose_if_objc)
#  define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
# else
#  define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
# endif
#endif
#if defined(__OBJC__)
#if !defined(IBSegueAction)
# define IBSegueAction
# define IBSegueAction
#endif
#endif
#if !defined(SWIFT_EXTERN)
@@ -207,26 +242,42 @@
#if !defined(SWIFT_CALL)
# define SWIFT_CALL __attribute__((swiftcall))
#endif
#if defined(__cplusplus)
#if !defined(SWIFT_NOEXCEPT)
# define SWIFT_NOEXCEPT noexcept
#if !defined(SWIFT_INDIRECT_RESULT)
# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
#endif
#if !defined(SWIFT_CONTEXT)
# define SWIFT_CONTEXT __attribute__((swift_context))
#endif
#if !defined(SWIFT_ERROR_RESULT)
# define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
#endif
#if defined(__cplusplus)
# define SWIFT_NOEXCEPT noexcept
#else
#if !defined(SWIFT_NOEXCEPT)
# define SWIFT_NOEXCEPT 
#endif
#if !defined(SWIFT_C_INLINE_THUNK)
# if __has_attribute(always_inline)
# if __has_attribute(nodebug)
#  define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
# else
#  define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
# endif
# else
#  define SWIFT_C_INLINE_THUNK inline
# endif
#endif
#if defined(__cplusplus)
#if !defined(SWIFT_CXX_INT_DEFINED)
#define SWIFT_CXX_INT_DEFINED
namespace swift {
using Int = ptrdiff_t;
using UInt = size_t;
}
#if defined(_WIN32)
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
#endif
#else
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
# define SWIFT_IMPORT_STDLIB_SYMBOL
#endif
#endif
#if defined(__OBJC__)
#if __has_feature(modules)
#if __has_feature(objc_modules)
#if __has_warning("-Watimport-in-framework-header")
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
#endif
@@ -246,6 +297,7 @@
#pragma clang diagnostic ignored "-Wunknown-pragmas"
#pragma clang diagnostic ignored "-Wnullability"
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
#if __has_attribute(external_source_symbol)
# pragma push_macro("any")
@@ -264,7 +316,6 @@
enum FBSDKChooseContextFilter : NSInteger;
@class NSString;
/// A model for an instant games choose context app switch dialog
SWIFT_CLASS_NAMED("ChooseContextContent")
@interface FBSDKChooseContextContent : NSObject <FBSDKValidatable>
@@ -281,7 +332,6 @@
@end
@protocol FBSDKContextDialogDelegate;
/// The protocol sdk dialogs must conform to and implement all the following methods.
SWIFT_PROTOCOL_NAMED("DialogProtocol")
@protocol FBSDKDialog
@@ -298,7 +348,6 @@
@class FBSDKWebDialog;
@protocol _FBSDKWindowFinding;
/// A super class type for the context dialogs classes that show an in-app webview to display content.
SWIFT_CLASS_NAMED("ContextWebDialog")
@interface FBSDKContextWebDialog : NSObject <FBSDKWebDialogDelegate, FBSDKDialog>
@@ -318,7 +367,6 @@
@class UIApplication;
@class NSURL;
/// A dialog for the choose context through app switch
SWIFT_CLASS_NAMED("ChooseContextDialog")
@interface FBSDKChooseContextDialog : FBSDKContextWebDialog <FBSDKURLOpening>
@@ -334,12 +382,10 @@
- (BOOL)isAuthenticationURL:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT;
@end
SWIFT_PROTOCOL_NAMED("Showable")
@protocol FBSDKShowable
- (BOOL)show SWIFT_WARN_UNUSED_RESULT;
@end
@interface FBSDKChooseContextDialog (SWIFT_EXTENSION(FBSDKGamingServicesKit)) <FBSDKShowable>
@end
@@ -350,7 +396,6 @@
  FBSDKChooseContextFilterNewPlayersOnly = 2,
  FBSDKChooseContextFilterNewContextOnly = 3,
};
/// A delegate for context dialogs to communicate with the dialog handler.
/// The delegate is notified with the results of the cross play request as long as the application has permissions to
@@ -372,7 +417,6 @@
@class FBSDKCreateContextContent;
@class FBSDKSwitchContextContent;
/// A dialog presenter responsible for creating and showing all the dialogs that create, switch,
/// choose and otherwise manipulate the gaming context.
SWIFT_CLASS_NAMED("ContextDialogPresenter")
@@ -398,8 +442,6 @@
- (void)makeAndShowChooseContextDialogWithContent:(FBSDKChooseContextContent * _Nonnull)content delegate:(id <FBSDKContextDialogDelegate> _Nonnull)delegate;
@end
/// A model for an instant games createAsync cross play request.
SWIFT_CLASS_NAMED("CreateContextContent")
@interface FBSDKCreateContextContent : NSObject <FBSDKValidatable>
@@ -415,7 +457,6 @@
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
/// A dialog to create a context through a web view
SWIFT_CLASS_NAMED("CreateContextDialog")
@interface FBSDKCreateContextDialog : FBSDKContextWebDialog
@@ -428,12 +469,8 @@
- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error;
@end
@interface FBSDKCreateContextDialog (SWIFT_EXTENSION(FBSDKGamingServicesKit)) <FBSDKShowable>
@end
SWIFT_CLASS_NAMED("FriendFinderDialog")
@interface FBSDKFriendFinderDialog : NSObject
@@ -457,7 +494,6 @@
enum FBSDKGameRequestFilter : NSUInteger;
@class NSCoder;
/// A model for a game request.
SWIFT_CLASS_NAMED("GameRequestContent")
@interface FBSDKGameRequestContent : NSObject <FBSDKSharingValidatable, NSSecureCoding>
@@ -510,7 +546,6 @@
@end
@protocol FBSDKGameRequestDialogDelegate;
/// A dialog for sending game requests.
SWIFT_CLASS_NAMED("GameRequestDialog")
@interface FBSDKGameRequestDialog : NSObject
@@ -545,14 +580,11 @@
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@interface FBSDKGameRequestDialog (SWIFT_EXTENSION(FBSDKGamingServicesKit)) <FBSDKWebDialogDelegate>
- (void)webDialog:(FBSDKWebDialog * _Nonnull)webDialog didCompleteWithResults:(NSDictionary<NSString *, id> * _Nonnull)results;
- (void)webDialog:(FBSDKWebDialog * _Nonnull)webDialog didFailWithError:(NSError * _Nonnull)error;
- (void)webDialogDidCancel:(FBSDKWebDialog * _Nonnull)webDialog;
@end
@interface FBSDKGameRequestDialog (SWIFT_EXTENSION(FBSDKGamingServicesKit)) <FBSDKURLOpening>
- (BOOL)application:(UIApplication * _Nullable)application openURL:(NSURL * _Nullable)potentialURL sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT;
@@ -560,7 +592,6 @@
- (void)applicationDidBecomeActive:(UIApplication * _Nonnull)application;
- (BOOL)isAuthenticationURL:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT;
@end
/// A delegate for <code>GameRequestDialog</code>.
/// The delegate is notified with the results of the game request as long as the application has permissions to
@@ -593,7 +624,6 @@
  FBSDKGameRequestFilterEverybody = 3,
};
SWIFT_CLASS_NAMED("GameRequestURLProvider")
@interface FBSDKGameRequestURLProvider : NSObject
+ (NSURL * _Nullable)createDeepLinkURLWithQueryDictionary:(NSDictionary<NSString *, id> * _Nonnull)queryDictionary SWIFT_WARN_UNUSED_RESULT;
@@ -601,9 +631,6 @@
+ (NSString * _Nullable)actionTypeNameForActionType:(enum FBSDKGameRequestActionType)actionType SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
SWIFT_CLASS_NAMED("GamingContext")
@interface FBSDKGamingContext : NSObject
@@ -620,7 +647,6 @@
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
SWIFT_CLASS_NAMED("GamingGroupIntegration")
@interface FBSDKGamingGroupIntegration : NSObject
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
@@ -629,7 +655,6 @@
@end
@class FBSDKGamingImageUploaderConfiguration;
SWIFT_CLASS_NAMED("GamingImageUploader")
@interface FBSDKGamingImageUploader : NSObject
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
@@ -651,13 +676,11 @@
@end
@protocol FBSDKGraphRequestConnecting;
@interface FBSDKGamingImageUploader (SWIFT_EXTENSION(FBSDKGamingServicesKit)) <FBSDKGraphRequestConnectionDelegate>
- (void)requestConnection:(id <FBSDKGraphRequestConnecting> _Nonnull)connection didSendBodyData:(NSInteger)bytesWritten totalBytesWritten:(NSInteger)totalBytesWritten totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite;
@end
@class UIImage;
SWIFT_CLASS_NAMED("GamingImageUploaderConfiguration")
@interface FBSDKGamingImageUploaderConfiguration : NSObject
@property (nonatomic, readonly, strong) UIImage * _Nonnull image;
@@ -673,7 +696,6 @@
@end
@class FBSDKURL;
SWIFT_CLASS_NAMED("GamingPayload")
@interface FBSDKGamingPayload : NSObject
@property (nonatomic, strong) FBSDKURL * _Nonnull URL;
@@ -682,7 +704,6 @@
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
SWIFT_PROTOCOL_NAMED("GamingPayloadDelegate")
@protocol FBSDKGamingPayloadDelegate <NSObject>
@@ -700,7 +721,6 @@
- (void)parsedTournamentURLContaining:(FBSDKGamingPayload * _Nonnull)payload tournamentID:(NSString * _Nonnull)tournamentID;
@end
SWIFT_CLASS_NAMED("GamingPayloadObserver")
@interface FBSDKGamingPayloadObserver : NSObject
@property (nonatomic, weak) id <FBSDKGamingPayloadDelegate> _Nullable delegate;
@@ -709,13 +729,11 @@
- (nonnull instancetype)initWithDelegate:(id <FBSDKGamingPayloadDelegate> _Nullable)delegate;
@end
@interface FBSDKGamingPayloadObserver (SWIFT_EXTENSION(FBSDKGamingServicesKit)) <FBSDKApplicationObserving>
- (BOOL)application:(UIApplication * _Nonnull)application openURL:(NSURL * _Nonnull)url sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT;
@end
@class FBSDKGamingVideoUploaderConfiguration;
SWIFT_CLASS_NAMED("GamingVideoUploader")
@interface FBSDKGamingVideoUploader : NSObject
/// Runs an upload to a users Gaming Media Library with the given configuration
@@ -731,8 +749,6 @@
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
SWIFT_CLASS_NAMED("GamingVideoUploaderConfiguration")
@interface FBSDKGamingVideoUploaderConfiguration : NSObject
@property (nonatomic, readonly, copy) NSURL * _Nonnull videoURL;
@@ -745,7 +761,6 @@
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
SWIFT_CLASS("_TtC22FBSDKGamingServicesKit21ShareTournamentDialog")
@interface ShareTournamentDialog : NSObject <FBSDKURLOpening>
- (BOOL)isAuthenticationURL:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT;
@@ -756,8 +771,6 @@
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
/// A model for an instant games switchAsync cross play request.
SWIFT_CLASS_NAMED("SwitchContextContent")
@interface FBSDKSwitchContextContent : NSObject <FBSDKValidatable>
@@ -767,7 +780,6 @@
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
/// A dialog to switch the current gaming context through a web view
SWIFT_CLASS_NAMED("SwitchContextDialog")
@@ -784,16 +796,12 @@
- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error;
@end
#endif
#if defined(__cplusplus)
#endif
#if __has_attribute(external_source_symbol)
# pragma clang attribute pop
#endif
#if defined(__cplusplus)
#endif
#pragma clang diagnostic pop
#endif