| | |
| | | // swift-interface-format-version: 1.0 |
| | | // swift-compiler-version: Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51) |
| | | // swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) |
| | | // swift-module-flags: -target x86_64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKGamingServicesKit |
| | | // swift-module-flags-ignorable: -enable-bare-slash-regex |
| | | import FBSDKCoreKit |
| | |
| | | import UIKit |
| | | import _Concurrency |
| | | import _StringProcessing |
| | | import _SwiftConcurrencyShims |
| | | @objc(FBSDKChooseContextFilter) public enum ChooseContextFilter : Swift.Int, Swift.CaseIterable { |
| | | case none |
| | | case existingChallenges |
| | |
| | | @objc deinit |
| | | } |
| | | @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKChooseContextDialog) final public class ChooseContextDialog : FBSDKGamingServicesKit.ContextWebDialog, FBSDKCoreKit.URLOpening { |
| | | @objc convenience public init(content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) |
| | | @objc convenience public init(content: FBSDKGamingServicesKit.ChooseContextContent, delegate: any FBSDKGamingServicesKit.ContextDialogDelegate) |
| | | @objc override final public func show() -> Swift.Bool |
| | | @objc override final public func validate() throws |
| | | @objc final public func application(_ application: UIKit.UIApplication?, open url: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool |
| | |
| | | } |
| | | @objc(FBSDKContextDialogDelegate) public protocol ContextDialogDelegate { |
| | | @objc func contextDialogDidComplete(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog) |
| | | @objc func contextDialog(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog, didFailWithError error: Swift.Error) |
| | | @objc func contextDialog(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog, didFailWithError error: any Swift.Error) |
| | | @objc func contextDialogDidCancel(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog) |
| | | } |
| | | @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKContextDialogPresenter) final public class ContextDialogPresenter : ObjectiveC.NSObject { |
| | | @objc override convenience dynamic public init() |
| | | @objc final public func makeAndShowCreateContextDialog(content: FBSDKGamingServicesKit.CreateContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) throws |
| | | @objc final public func makeAndShowSwitchContextDialog(content: FBSDKGamingServicesKit.SwitchContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) throws |
| | | @objc final public func makeAndShowChooseContextDialog(content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) |
| | | @objc final public func makeAndShowCreateContextDialog(content: FBSDKGamingServicesKit.CreateContextContent, delegate: any FBSDKGamingServicesKit.ContextDialogDelegate) throws |
| | | @objc final public func makeAndShowSwitchContextDialog(content: FBSDKGamingServicesKit.SwitchContextContent, delegate: any FBSDKGamingServicesKit.ContextDialogDelegate) throws |
| | | @objc final public func makeAndShowChooseContextDialog(content: FBSDKGamingServicesKit.ChooseContextContent, delegate: any FBSDKGamingServicesKit.ContextDialogDelegate) |
| | | @objc deinit |
| | | } |
| | | public enum ContextDialogPresenterError : Swift.Error { |
| | |
| | | } |
| | | } |
| | | @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKContextWebDialog) public class ContextWebDialog : ObjectiveC.NSObject, FBSDKCoreKit.WebDialogDelegate, FBSDKGamingServicesKit.DialogProtocol { |
| | | @objc public var delegate: FBSDKGamingServicesKit.ContextDialogDelegate? |
| | | @objc public var dialogContent: FBSDKGamingServicesKit.ValidatableProtocol? |
| | | @objc public var delegate: (any FBSDKGamingServicesKit.ContextDialogDelegate)? |
| | | @objc public var dialogContent: (any FBSDKGamingServicesKit.ValidatableProtocol)? |
| | | @objc public var currentWebDialog: FBSDKCoreKit._WebDialog? |
| | | @objc public func show() -> Swift.Bool |
| | | @objc public func validate() throws |
| | | @objc public func webDialog(_ webDialog: FBSDKCoreKit._WebDialog, didCompleteWithResults results: [Swift.String : Any]) |
| | | @objc public func webDialog(_ webDialog: FBSDKCoreKit._WebDialog, didFailWithError error: Swift.Error) |
| | | @objc public func webDialog(_ webDialog: FBSDKCoreKit._WebDialog, didFailWithError error: any Swift.Error) |
| | | @objc public func webDialogDidCancel(_ webDialog: FBSDKCoreKit._WebDialog) |
| | | @objc public func createWebDialogFrame(withWidth width: CoreFoundation.CGFloat, height: CoreFoundation.CGFloat, windowFinder: FBSDKCoreKit._WindowFinding) -> CoreFoundation.CGRect |
| | | @objc public func createWebDialogFrame(withWidth width: CoreFoundation.CGFloat, height: CoreFoundation.CGFloat, windowFinder: any FBSDKCoreKit._WindowFinding) -> CoreFoundation.CGRect |
| | | @objc deinit |
| | | } |
| | | @objcMembers @objc(FBSDKCreateContextContent) final public class CreateContextContent : ObjectiveC.NSObject, FBSDKGamingServicesKit.ValidatableProtocol { |
| | |
| | | @objc deinit |
| | | } |
| | | @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKCreateContextDialog) final public class CreateContextDialog : FBSDKGamingServicesKit.ContextWebDialog { |
| | | @objc public init(content: FBSDKGamingServicesKit.CreateContextContent, windowFinder: FBSDKCoreKit._WindowFinding, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) |
| | | @objc public init(content: FBSDKGamingServicesKit.CreateContextContent, windowFinder: any FBSDKCoreKit._WindowFinding, delegate: any FBSDKGamingServicesKit.ContextDialogDelegate) |
| | | @discardableResult |
| | | @objc override final public func show() -> Swift.Bool |
| | | @objc override final public func validate() throws |
| | |
| | | @objc deinit |
| | | } |
| | | final public class CustomUpdateContentMedia { |
| | | public init(message: Swift.String, media: FBSDKGamingServicesKit.URLMedia, cta: Swift.String? = nil, payload: Swift.String? = nil, messageLocalization: [Swift.String : Swift.String] = [:], ctaLocalization: [Swift.String : Swift.String] = [:]) |
| | | public init(message: Swift.String, media: any FBSDKGamingServicesKit.URLMedia, cta: Swift.String? = nil, payload: Swift.String? = nil, messageLocalization: [Swift.String : Swift.String] = [:], ctaLocalization: [Swift.String : Swift.String] = [:]) |
| | | @objc deinit |
| | | } |
| | | public enum CustomUpdateGraphRequestError : Swift.Error { |
| | | case server(Swift.Error) |
| | | case server(any Swift.Error) |
| | | case invalidAccessToken |
| | | case contentParsing |
| | | case decoding |
| | | } |
| | | final public class CustomUpdateGraphRequest { |
| | | final public let graphRequestFactory: FBSDKCoreKit.GraphRequestFactoryProtocol |
| | | final public let graphRequestFactory: any FBSDKCoreKit.GraphRequestFactoryProtocol |
| | | public init() |
| | | public init(graphRequestFactory: FBSDKCoreKit.GraphRequestFactoryProtocol = GraphRequestFactory()) |
| | | public init(graphRequestFactory: any FBSDKCoreKit.GraphRequestFactoryProtocol = GraphRequestFactory()) |
| | | final public func request(content: FBSDKGamingServicesKit.CustomUpdateContentMedia, completionHandler: @escaping (Swift.Result<Swift.Bool, FBSDKGamingServicesKit.CustomUpdateGraphRequestError>) -> Swift.Void) throws |
| | | final public func request(content: FBSDKGamingServicesKit.CustomUpdateContentImage, completionHandler: @escaping (Swift.Result<Swift.Bool, FBSDKGamingServicesKit.CustomUpdateGraphRequestError>) -> Swift.Void) throws |
| | | @objc deinit |
| | | } |
| | | @objc(FBSDKDialog) public protocol DialogProtocol { |
| | | @objc weak var delegate: FBSDKGamingServicesKit.ContextDialogDelegate? { get set } |
| | | @objc var dialogContent: FBSDKGamingServicesKit.ValidatableProtocol? { get set } |
| | | @objc weak var delegate: (any FBSDKGamingServicesKit.ContextDialogDelegate)? { get set } |
| | | @objc var dialogContent: (any FBSDKGamingServicesKit.ValidatableProtocol)? { get set } |
| | | @objc func show() -> Swift.Bool |
| | | @objc func validate() throws |
| | | } |
| | |
| | | public struct FacebookGIF : Swift.Codable, Swift.Equatable, FBSDKGamingServicesKit.URLMedia { |
| | | public init(withUrl url: Foundation.URL) |
| | | public static func == (a: FBSDKGamingServicesKit.FacebookGIF, b: FBSDKGamingServicesKit.FacebookGIF) -> Swift.Bool |
| | | public func encode(to encoder: Swift.Encoder) throws |
| | | public init(from decoder: Swift.Decoder) throws |
| | | public func encode(to encoder: any Swift.Encoder) throws |
| | | public init(from decoder: any Swift.Decoder) throws |
| | | } |
| | | public struct FacebookVideo : Swift.Codable, Swift.Equatable, FBSDKGamingServicesKit.URLMedia { |
| | | public init(withUrl url: Foundation.URL) |
| | | public static func == (a: FBSDKGamingServicesKit.FacebookVideo, b: FBSDKGamingServicesKit.FacebookVideo) -> Swift.Bool |
| | | public func encode(to encoder: Swift.Encoder) throws |
| | | public init(from decoder: Swift.Decoder) throws |
| | | public func encode(to encoder: any Swift.Encoder) throws |
| | | public init(from decoder: any Swift.Decoder) throws |
| | | } |
| | | @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc(FBSDKFriendFinderDialog) final public class FriendFinderDialog : ObjectiveC.NSObject { |
| | | @objc override convenience dynamic public init() |
| | |
| | | @objc deinit |
| | | } |
| | | @objcMembers @objc(FBSDKGameRequestDialog) final public class GameRequestDialog : ObjectiveC.NSObject { |
| | | @objc weak final public var delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate? |
| | | @objc weak final public var delegate: (any FBSDKGamingServicesKit.GameRequestDialogDelegate)? |
| | | @objc final public var content: FBSDKGamingServicesKit.GameRequestContent |
| | | @objc final public var isFrictionlessRequestsEnabled: Swift.Bool |
| | | @objc final public var canShow: Swift.Bool { |
| | | @objc get |
| | | } |
| | | @objc public init(content: FBSDKGamingServicesKit.GameRequestContent, delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate?) |
| | | @objc(dialogWithContent:delegate:) public static func dialog(content: FBSDKGamingServicesKit.GameRequestContent, delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate?) -> FBSDKGamingServicesKit.GameRequestDialog |
| | | @objc public init(content: FBSDKGamingServicesKit.GameRequestContent, delegate: (any FBSDKGamingServicesKit.GameRequestDialogDelegate)?) |
| | | @objc(dialogWithContent:delegate:) public static func dialog(content: FBSDKGamingServicesKit.GameRequestContent, delegate: (any FBSDKGamingServicesKit.GameRequestDialogDelegate)?) -> FBSDKGamingServicesKit.GameRequestDialog |
| | | @discardableResult |
| | | @objc(showWithContent:delegate:) public static func show(content: FBSDKGamingServicesKit.GameRequestContent, delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate?) -> FBSDKGamingServicesKit.GameRequestDialog |
| | | @objc(showWithContent:delegate:) public static func show(content: FBSDKGamingServicesKit.GameRequestContent, delegate: (any FBSDKGamingServicesKit.GameRequestDialogDelegate)?) -> FBSDKGamingServicesKit.GameRequestDialog |
| | | @objc @discardableResult |
| | | final public func show() -> Swift.Bool |
| | | @objc(validateWithError:) final public func validate() throws |
| | |
| | | } |
| | | extension FBSDKGamingServicesKit.GameRequestDialog : FBSDKCoreKit.WebDialogDelegate { |
| | | @objc final public func webDialog(_ webDialog: FBSDKCoreKit._WebDialog, didCompleteWithResults results: [Swift.String : Any]) |
| | | @objc final public func webDialog(_ webDialog: FBSDKCoreKit._WebDialog, didFailWithError error: Swift.Error) |
| | | @objc final public func webDialog(_ webDialog: FBSDKCoreKit._WebDialog, didFailWithError error: any Swift.Error) |
| | | @objc final public func webDialogDidCancel(_ webDialog: FBSDKCoreKit._WebDialog) |
| | | } |
| | | extension FBSDKGamingServicesKit.GameRequestDialog : FBSDKCoreKit.URLOpening { |
| | |
| | | } |
| | | @objc(FBSDKGameRequestDialogDelegate) public protocol GameRequestDialogDelegate { |
| | | @objc(gameRequestDialog:didCompleteWithResults:) func gameRequestDialog(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog, didCompleteWithResults results: [Swift.String : Any]) |
| | | @objc(gameRequestDialog:didFailWithError:) func gameRequestDialog(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog, didFailWithError error: Swift.Error) |
| | | @objc(gameRequestDialog:didFailWithError:) func gameRequestDialog(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog, didFailWithError error: any Swift.Error) |
| | | @objc func gameRequestDialogDidCancel(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog) |
| | | } |
| | | @objc(FBSDKGameRequestFilter) public enum GameRequestFilter : Swift.UInt { |
| | |
| | | @objc deinit |
| | | } |
| | | extension FBSDKGamingServicesKit.GamingImageUploader : FBSDKCoreKit.GraphRequestConnectionDelegate { |
| | | @objc final public func requestConnection(_ connection: FBSDKCoreKit.GraphRequestConnecting, didSendBodyData bytesWritten: Swift.Int, totalBytesWritten: Swift.Int, totalBytesExpectedToWrite: Swift.Int) |
| | | @objc final public func requestConnection(_ connection: any FBSDKCoreKit.GraphRequestConnecting, didSendBodyData bytesWritten: Swift.Int, totalBytesWritten: Swift.Int, totalBytesExpectedToWrite: Swift.Int) |
| | | } |
| | | @objcMembers @objc(FBSDKGamingImageUploaderConfiguration) final public class GamingImageUploaderConfiguration : ObjectiveC.NSObject { |
| | | @objc final public var image: UIKit.UIImage { |
| | |
| | | @objc optional func parsedTournamentURLContaining(_ payload: FBSDKGamingServicesKit.GamingPayload, tournamentID: Swift.String) |
| | | } |
| | | @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingPayloadObserver) final public class GamingPayloadObserver : ObjectiveC.NSObject { |
| | | @objc weak final public var delegate: FBSDKGamingServicesKit.GamingPayloadDelegate? { |
| | | @objc weak final public var delegate: (any FBSDKGamingServicesKit.GamingPayloadDelegate)? { |
| | | @objc get |
| | | @objc set |
| | | } |
| | | @objc convenience public init(delegate: FBSDKGamingServicesKit.GamingPayloadDelegate?) |
| | | @objc convenience public init(delegate: (any FBSDKGamingServicesKit.GamingPayloadDelegate)?) |
| | | @objc deinit |
| | | } |
| | | extension FBSDKGamingServicesKit.GamingPayloadObserver : FBSDKCoreKit.FBSDKApplicationObserving { |
| | | @objc final public func application(_ application: UIKit.UIApplication, open url: Foundation.URL, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool |
| | | } |
| | | public typealias GamingServiceCompletionHandler = (_ success: Swift.Bool, _ error: Swift.Error?) -> Swift.Void |
| | | public typealias GamingServiceCompletionHandler = (_ success: Swift.Bool, _ error: (any Swift.Error)?) -> Swift.Void |
| | | public typealias FBSDKGamingServiceCompletionHandler = FBSDKGamingServicesKit.GamingServiceCompletionHandler |
| | | public typealias GamingServiceResultCompletion = (_ success: Swift.Bool, _ result: [Swift.String : Any]?, _ error: Swift.Error?) -> Swift.Void |
| | | public typealias GamingServiceResultCompletion = (_ success: Swift.Bool, _ result: [Swift.String : Any]?, _ error: (any Swift.Error)?) -> Swift.Void |
| | | public typealias FBSDKGamingServiceResultCompletion = FBSDKGamingServicesKit.GamingServiceResultCompletion |
| | | public typealias GamingServiceProgressHandler = (_ bytesSent: Swift.Int64, _ totalBytesSent: Swift.Int64, _ totalBytesExpectedToSend: Swift.Int64) -> Swift.Void |
| | | public typealias FBSDKGamingServiceProgressHandler = FBSDKGamingServicesKit.GamingServiceProgressHandler |
| | |
| | | @objc deinit |
| | | } |
| | | @_hasMissingDesignatedInitializers public class GamingWebDialog<Success> : FBSDKCoreKit.WebDialogDelegate where Success : FBSDKGamingServicesKit.GamingWebDialogSuccess { |
| | | public var completion: ((Swift.Result<Success, Swift.Error>) -> Swift.Void)? |
| | | public var completion: ((Swift.Result<Success, any Swift.Error>) -> Swift.Void)? |
| | | @objc public func webDialog(_ webDialog: FBSDKCoreKit._WebDialog, didCompleteWithResults results: [Swift.String : Any]) |
| | | @objc public func webDialog(_ webDialog: FBSDKCoreKit._WebDialog, didFailWithError error: Swift.Error) |
| | | @objc public func webDialog(_ webDialog: FBSDKCoreKit._WebDialog, didFailWithError error: any Swift.Error) |
| | | @objc public func webDialogDidCancel(_ webDialog: FBSDKCoreKit._WebDialog) |
| | | @objc deinit |
| | | } |
| | |
| | | final public var tournamentID: Swift.String? |
| | | final public var payload: Swift.String? |
| | | public init() |
| | | final public func showSpecific(tournamentID: Swift.String, payload: Swift.String?, completion: @escaping (Swift.Result<FBSDKGamingServicesKit.JoinTournamentDialogSuccess, Swift.Error>) -> Swift.Void) |
| | | final public func showSuggested(payload: Swift.String?, completion: @escaping (Swift.Result<FBSDKGamingServicesKit.JoinTournamentDialogSuccess, Swift.Error>) -> Swift.Void) |
| | | final public func showSpecific(tournamentID: Swift.String, payload: Swift.String?, completion: @escaping (Swift.Result<FBSDKGamingServicesKit.JoinTournamentDialogSuccess, any Swift.Error>) -> Swift.Void) |
| | | final public func showSuggested(payload: Swift.String?, completion: @escaping (Swift.Result<FBSDKGamingServicesKit.JoinTournamentDialogSuccess, any Swift.Error>) -> Swift.Void) |
| | | @objc deinit |
| | | } |
| | | public struct JoinTournamentDialogSuccess : FBSDKGamingServicesKit.GamingWebDialogSuccess { |
| | |
| | | case unableToCreateDialogUrl |
| | | case unknownBridgeError |
| | | case errorMessage(Swift.String) |
| | | case bridgeError(Swift.Error) |
| | | case bridgeError(any Swift.Error) |
| | | } |
| | | @objc @_hasMissingDesignatedInitializers final public class ShareTournamentDialog : ObjectiveC.NSObject, FBSDKCoreKit.URLOpening { |
| | | convenience public init(delegate: FBSDKGamingServicesKit.ShareTournamentDialogDelegate) |
| | | convenience public init(delegate: any FBSDKGamingServicesKit.ShareTournamentDialogDelegate) |
| | | final public func show(score: Swift.Int, tournamentID: Swift.String) throws |
| | | final public func show(score: Swift.Int, tournament: FBSDKGamingServicesKit.Tournament) throws |
| | | final public func show(initialScore: Swift.Int, config configuration: FBSDKGamingServicesKit.TournamentConfig) throws |
| | |
| | | } |
| | | public protocol ShareTournamentDialogDelegate : AnyObject { |
| | | func didComplete(dialog: FBSDKGamingServicesKit.ShareTournamentDialog, tournament: FBSDKGamingServicesKit.Tournament) |
| | | func didFail(withError error: Swift.Error, dialog: FBSDKGamingServicesKit.ShareTournamentDialog) |
| | | func didFail(withError error: any Swift.Error, dialog: FBSDKGamingServicesKit.ShareTournamentDialog) |
| | | func didCancel(dialog: FBSDKGamingServicesKit.ShareTournamentDialog) |
| | | } |
| | | @objc(FBSDKShowable) public protocol Showable { |
| | |
| | | @objc deinit |
| | | } |
| | | @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKSwitchContextDialog) final public class SwitchContextDialog : FBSDKGamingServicesKit.ContextWebDialog, FBSDKGamingServicesKit.Showable { |
| | | @objc public init(content: FBSDKGamingServicesKit.SwitchContextContent, windowFinder: FBSDKCoreKit._WindowFinding, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) |
| | | @objc public init(content: FBSDKGamingServicesKit.SwitchContextContent, windowFinder: any FBSDKCoreKit._WindowFinding, delegate: any FBSDKGamingServicesKit.ContextDialogDelegate) |
| | | @objc override final public func show() -> Swift.Bool |
| | | @objc override final public func validate() throws |
| | | @objc deinit |
| | |
| | | get |
| | | } |
| | | public var payload: Swift.String? |
| | | public init(from decoder: Swift.Decoder) throws |
| | | public func encode(to encoder: Swift.Encoder) throws |
| | | public init(from decoder: any Swift.Decoder) throws |
| | | public func encode(to encoder: any Swift.Encoder) throws |
| | | } |
| | | public struct TournamentConfig { |
| | | public var title: Swift.String? |
| | |
| | | public init(title: Swift.String? = nil, endTime: Foundation.Date? = nil, scoreType: FBSDKGamingServicesKit.TournamentScoreType? = nil, sortOrder: FBSDKGamingServicesKit.TournamentSortOrder? = nil, image: UIKit.UIImage? = nil, payload: Swift.String? = nil) |
| | | } |
| | | public enum TournamentFetchError : Swift.Error { |
| | | case server(Swift.Error) |
| | | case server(any Swift.Error) |
| | | case decoding |
| | | case invalidAuthToken |
| | | case invalidAccessToken |
| | |
| | | } |
| | | } |
| | | public enum TournamentUpdaterError : Swift.Error { |
| | | case server(Swift.Error) |
| | | case server(any Swift.Error) |
| | | case decoding |
| | | case invalidAuthToken |
| | | case invalidAccessToken |