| | |
| | | #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 FBSDKGAMINGSERVICESKIT_SWIFT_H |
| | | #define FBSDKGAMINGSERVICESKIT_SWIFT_H |
| | | #pragma clang diagnostic push |
| | |
| | | # 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 |
| | |
| | | |
| | | enum FBSDKChooseContextFilter : NSInteger; |
| | | @class NSString; |
| | | |
| | | /// A model for an instant games choose context app switch dialog |
| | | SWIFT_CLASS_NAMED("ChooseContextContent") |
| | | @interface FBSDKChooseContextContent : NSObject <FBSDKValidatable> |
| | |
| | | @end |
| | | |
| | | @protocol FBSDKContextDialogDelegate; |
| | | |
| | | /// The protocol sdk dialogs must conform to and implement all the following methods. |
| | | SWIFT_PROTOCOL_NAMED("DialogProtocol") |
| | | @protocol FBSDKDialog |
| | |
| | | |
| | | @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> |
| | |
| | | |
| | | @class UIApplication; |
| | | @class NSURL; |
| | | |
| | | /// A dialog for the choose context through app switch |
| | | SWIFT_CLASS_NAMED("ChooseContextDialog") |
| | | @interface FBSDKChooseContextDialog : FBSDKContextWebDialog <FBSDKURLOpening> |
| | |
| | | - (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 |
| | |
| | | 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 |
| | |
| | | |
| | | @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") |
| | |
| | | - (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> |
| | |
| | | + (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 |
| | |
| | | - (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; |
| | | @end |
| | | |
| | | |
| | | @interface FBSDKCreateContextDialog (SWIFT_EXTENSION(FBSDKGamingServicesKit)) <FBSDKShowable> |
| | | @end |
| | | |
| | | |
| | | |
| | | |
| | | SWIFT_CLASS_NAMED("FriendFinderDialog") |
| | | @interface FBSDKFriendFinderDialog : NSObject |
| | |
| | | |
| | | enum FBSDKGameRequestFilter : NSUInteger; |
| | | @class NSCoder; |
| | | |
| | | /// A model for a game request. |
| | | SWIFT_CLASS_NAMED("GameRequestContent") |
| | | @interface FBSDKGameRequestContent : NSObject <FBSDKSharingValidatable, NSSecureCoding> |
| | |
| | | @end |
| | | |
| | | @protocol FBSDKGameRequestDialogDelegate; |
| | | |
| | | /// A dialog for sending game requests. |
| | | SWIFT_CLASS_NAMED("GameRequestDialog") |
| | | @interface FBSDKGameRequestDialog : NSObject |
| | |
| | | + (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; |
| | |
| | | - (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 |
| | |
| | | FBSDKGameRequestFilterEverybody = 3, |
| | | }; |
| | | |
| | | |
| | | SWIFT_CLASS_NAMED("GameRequestURLProvider") |
| | | @interface FBSDKGameRequestURLProvider : NSObject |
| | | + (NSURL * _Nullable)createDeepLinkURLWithQueryDictionary:(NSDictionary<NSString *, id> * _Nonnull)queryDictionary SWIFT_WARN_UNUSED_RESULT; |
| | |
| | | + (NSString * _Nullable)actionTypeNameForActionType:(enum FBSDKGameRequestActionType)actionType SWIFT_WARN_UNUSED_RESULT; |
| | | - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; |
| | | @end |
| | | |
| | | |
| | | |
| | | |
| | | SWIFT_CLASS_NAMED("GamingContext") |
| | | @interface FBSDKGamingContext : NSObject |
| | |
| | | + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); |
| | | @end |
| | | |
| | | |
| | | SWIFT_CLASS_NAMED("GamingGroupIntegration") |
| | | @interface FBSDKGamingGroupIntegration : NSObject |
| | | - (nonnull instancetype)init SWIFT_UNAVAILABLE; |
| | |
| | | @end |
| | | |
| | | @class FBSDKGamingImageUploaderConfiguration; |
| | | |
| | | SWIFT_CLASS_NAMED("GamingImageUploader") |
| | | @interface FBSDKGamingImageUploader : NSObject |
| | | - (nonnull instancetype)init SWIFT_UNAVAILABLE; |
| | |
| | | @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; |
| | |
| | | @end |
| | | |
| | | @class FBSDKURL; |
| | | |
| | | SWIFT_CLASS_NAMED("GamingPayload") |
| | | @interface FBSDKGamingPayload : NSObject |
| | | @property (nonatomic, strong) FBSDKURL * _Nonnull URL; |
| | |
| | | - (nonnull instancetype)init SWIFT_UNAVAILABLE; |
| | | + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); |
| | | @end |
| | | |
| | | |
| | | SWIFT_PROTOCOL_NAMED("GamingPayloadDelegate") |
| | | @protocol FBSDKGamingPayloadDelegate <NSObject> |
| | |
| | | - (void)parsedTournamentURLContaining:(FBSDKGamingPayload * _Nonnull)payload tournamentID:(NSString * _Nonnull)tournamentID; |
| | | @end |
| | | |
| | | |
| | | SWIFT_CLASS_NAMED("GamingPayloadObserver") |
| | | @interface FBSDKGamingPayloadObserver : NSObject |
| | | @property (nonatomic, weak) id <FBSDKGamingPayloadDelegate> _Nullable delegate; |
| | |
| | | - (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 |
| | |
| | | + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); |
| | | @end |
| | | |
| | | |
| | | |
| | | SWIFT_CLASS_NAMED("GamingVideoUploaderConfiguration") |
| | | @interface FBSDKGamingVideoUploaderConfiguration : NSObject |
| | | @property (nonatomic, readonly, copy) NSURL * _Nonnull videoURL; |
| | |
| | | + (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; |
| | |
| | | + (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> |
| | |
| | | - (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") |
| | |
| | | - (BOOL)show SWIFT_WARN_UNUSED_RESULT; |
| | | - (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; |
| | | @end |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | #endif |
| | | #if __has_attribute(external_source_symbol) |
| | |
| | | #endif |
| | | |
| | | #elif defined(__x86_64__) && __x86_64__ |
| | | // 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 FBSDKGAMINGSERVICESKIT_SWIFT_H |
| | | #define FBSDKGAMINGSERVICESKIT_SWIFT_H |
| | | #pragma clang diagnostic push |
| | |
| | | # 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 |
| | |
| | | |
| | | enum FBSDKChooseContextFilter : NSInteger; |
| | | @class NSString; |
| | | |
| | | /// A model for an instant games choose context app switch dialog |
| | | SWIFT_CLASS_NAMED("ChooseContextContent") |
| | | @interface FBSDKChooseContextContent : NSObject <FBSDKValidatable> |
| | |
| | | @end |
| | | |
| | | @protocol FBSDKContextDialogDelegate; |
| | | |
| | | /// The protocol sdk dialogs must conform to and implement all the following methods. |
| | | SWIFT_PROTOCOL_NAMED("DialogProtocol") |
| | | @protocol FBSDKDialog |
| | |
| | | |
| | | @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> |
| | |
| | | |
| | | @class UIApplication; |
| | | @class NSURL; |
| | | |
| | | /// A dialog for the choose context through app switch |
| | | SWIFT_CLASS_NAMED("ChooseContextDialog") |
| | | @interface FBSDKChooseContextDialog : FBSDKContextWebDialog <FBSDKURLOpening> |
| | |
| | | - (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 |
| | |
| | | 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 |
| | |
| | | |
| | | @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") |
| | |
| | | - (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> |
| | |
| | | + (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 |
| | |
| | | - (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; |
| | | @end |
| | | |
| | | |
| | | @interface FBSDKCreateContextDialog (SWIFT_EXTENSION(FBSDKGamingServicesKit)) <FBSDKShowable> |
| | | @end |
| | | |
| | | |
| | | |
| | | |
| | | SWIFT_CLASS_NAMED("FriendFinderDialog") |
| | | @interface FBSDKFriendFinderDialog : NSObject |
| | |
| | | |
| | | enum FBSDKGameRequestFilter : NSUInteger; |
| | | @class NSCoder; |
| | | |
| | | /// A model for a game request. |
| | | SWIFT_CLASS_NAMED("GameRequestContent") |
| | | @interface FBSDKGameRequestContent : NSObject <FBSDKSharingValidatable, NSSecureCoding> |
| | |
| | | @end |
| | | |
| | | @protocol FBSDKGameRequestDialogDelegate; |
| | | |
| | | /// A dialog for sending game requests. |
| | | SWIFT_CLASS_NAMED("GameRequestDialog") |
| | | @interface FBSDKGameRequestDialog : NSObject |
| | |
| | | + (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; |
| | |
| | | - (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 |
| | |
| | | FBSDKGameRequestFilterEverybody = 3, |
| | | }; |
| | | |
| | | |
| | | SWIFT_CLASS_NAMED("GameRequestURLProvider") |
| | | @interface FBSDKGameRequestURLProvider : NSObject |
| | | + (NSURL * _Nullable)createDeepLinkURLWithQueryDictionary:(NSDictionary<NSString *, id> * _Nonnull)queryDictionary SWIFT_WARN_UNUSED_RESULT; |
| | |
| | | + (NSString * _Nullable)actionTypeNameForActionType:(enum FBSDKGameRequestActionType)actionType SWIFT_WARN_UNUSED_RESULT; |
| | | - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; |
| | | @end |
| | | |
| | | |
| | | |
| | | |
| | | SWIFT_CLASS_NAMED("GamingContext") |
| | | @interface FBSDKGamingContext : NSObject |
| | |
| | | + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); |
| | | @end |
| | | |
| | | |
| | | SWIFT_CLASS_NAMED("GamingGroupIntegration") |
| | | @interface FBSDKGamingGroupIntegration : NSObject |
| | | - (nonnull instancetype)init SWIFT_UNAVAILABLE; |
| | |
| | | @end |
| | | |
| | | @class FBSDKGamingImageUploaderConfiguration; |
| | | |
| | | SWIFT_CLASS_NAMED("GamingImageUploader") |
| | | @interface FBSDKGamingImageUploader : NSObject |
| | | - (nonnull instancetype)init SWIFT_UNAVAILABLE; |
| | |
| | | @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; |
| | |
| | | @end |
| | | |
| | | @class FBSDKURL; |
| | | |
| | | SWIFT_CLASS_NAMED("GamingPayload") |
| | | @interface FBSDKGamingPayload : NSObject |
| | | @property (nonatomic, strong) FBSDKURL * _Nonnull URL; |
| | |
| | | - (nonnull instancetype)init SWIFT_UNAVAILABLE; |
| | | + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); |
| | | @end |
| | | |
| | | |
| | | SWIFT_PROTOCOL_NAMED("GamingPayloadDelegate") |
| | | @protocol FBSDKGamingPayloadDelegate <NSObject> |
| | |
| | | - (void)parsedTournamentURLContaining:(FBSDKGamingPayload * _Nonnull)payload tournamentID:(NSString * _Nonnull)tournamentID; |
| | | @end |
| | | |
| | | |
| | | SWIFT_CLASS_NAMED("GamingPayloadObserver") |
| | | @interface FBSDKGamingPayloadObserver : NSObject |
| | | @property (nonatomic, weak) id <FBSDKGamingPayloadDelegate> _Nullable delegate; |
| | |
| | | - (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 |
| | |
| | | + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); |
| | | @end |
| | | |
| | | |
| | | |
| | | SWIFT_CLASS_NAMED("GamingVideoUploaderConfiguration") |
| | | @interface FBSDKGamingVideoUploaderConfiguration : NSObject |
| | | @property (nonatomic, readonly, copy) NSURL * _Nonnull videoURL; |
| | |
| | | + (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; |
| | |
| | | + (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> |
| | |
| | | - (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") |
| | |
| | | - (BOOL)show SWIFT_WARN_UNUSED_RESULT; |
| | | - (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; |
| | | @end |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | #endif |
| | | #if __has_attribute(external_source_symbol) |