| | |
| | | // 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-module-flags: -target x86_64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKGamingServicesKit |
| | | // swift-module-flags-ignorable: -enable-bare-slash-regex |
| | | // swift-compiler-version: Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2) |
| | | // swift-module-flags: -target x86_64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name FBSDKGamingServicesKit |
| | | // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.3 |
| | | import FBSDKCoreKit |
| | | import FBSDKCoreKit_Basics |
| | | import FBSDKShareKit |
| | |
| | | import UIKit |
| | | import _Concurrency |
| | | import _StringProcessing |
| | | import _SwiftConcurrencyShims |
| | | @objc(FBSDKChooseContextFilter) public enum ChooseContextFilter : Swift.Int, Swift.CaseIterable { |
| | | case none |
| | | case existingChallenges |
| | |
| | | public var name: Swift.String { |
| | | get |
| | | } |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | public init?(rawValue: Swift.Int) |
| | | #endif |
| | | public typealias AllCases = [FBSDKGamingServicesKit.ChooseContextFilter] |
| | | public typealias RawValue = Swift.Int |
| | | public static var allCases: [FBSDKGamingServicesKit.ChooseContextFilter] { |
| | | nonisolated public static var allCases: [FBSDKGamingServicesKit.ChooseContextFilter] { |
| | | get |
| | | } |
| | | public var rawValue: Swift.Int { |
| | |
| | | @objc final public var minParticipants: Swift.Int |
| | | @objc public static func filtersName(forFilters filter: FBSDKGamingServicesKit.ChooseContextFilter) -> Swift.String |
| | | @objc final public func validate() throws |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | @objc override final public func isEqual(_ object: Any?) -> Swift.Bool |
| | | #endif |
| | | @objc override dynamic public init() |
| | | @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 |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | @objc final public func application(_ application: UIKit.UIApplication?, open url: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool |
| | | #endif |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool |
| | | #endif |
| | | @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) |
| | | @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool |
| | | @objc deinit |
| | | } |
| | | @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 final public var playerID: Swift.String |
| | | @objc(initDialogContentWithPlayerID:) public init(playerID: Swift.String) |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | @objc override final public func isEqual(_ object: Any?) -> Swift.Bool |
| | | #endif |
| | | @objc final public func validate() throws |
| | | @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 |
| | |
| | | } |
| | | } |
| | | final public class CustomUpdateContentImage { |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | public init(message: Swift.String, image: UIKit.UIImage, cta: Swift.String? = nil, payload: Swift.String? = nil, messageLocalization: [Swift.String : Swift.String] = [:], ctaLocalization: [Swift.String : Swift.String] = [:]) |
| | | #endif |
| | | @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] = [:]) |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | 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] = [:]) |
| | | #endif |
| | | @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()) |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | final public func request(content: FBSDKGamingServicesKit.CustomUpdateContentMedia, completionHandler: @escaping (Swift.Result<Swift.Bool, FBSDKGamingServicesKit.CustomUpdateGraphRequestError>) -> Swift.Void) throws |
| | | #endif |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | final public func request(content: FBSDKGamingServicesKit.CustomUpdateContentImage, completionHandler: @escaping (Swift.Result<Swift.Bool, FBSDKGamingServicesKit.CustomUpdateGraphRequestError>) -> Swift.Void) throws |
| | | #endif |
| | | @objc deinit |
| | | } |
| | | @objc(FBSDKDialog) public protocol DialogProtocol { |
| | | @objc weak var delegate: FBSDKGamingServicesKit.ContextDialogDelegate? { get set } |
| | | @objc var dialogContent: FBSDKGamingServicesKit.ValidatableProtocol? { get set } |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | @objc weak var delegate: (any FBSDKGamingServicesKit.ContextDialogDelegate)? { get set } |
| | | #endif |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | @objc var dialogContent: (any FBSDKGamingServicesKit.ValidatableProtocol)? { get set } |
| | | #endif |
| | | @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() |
| | |
| | | case askFor |
| | | case turn |
| | | case invite |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | public init?(rawValue: Swift.UInt) |
| | | #endif |
| | | public typealias RawValue = Swift.UInt |
| | | public var rawValue: Swift.UInt { |
| | | get |
| | |
| | | @objc final public var title: Swift.String |
| | | @objc final public var cta: Swift.String |
| | | @objc(validateWithOptions:error:) final public func validate(options: FBSDKShareKit.ShareBridgeOptions = []) throws |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | @objc override final public func isEqual(_ object: Any?) -> Swift.Bool |
| | | #endif |
| | | @objc(isEqualToGameRequestContent:) final public func isEqual(to content: FBSDKGamingServicesKit.GameRequestContent) -> Swift.Bool |
| | | @objc final public class var supportsSecureCoding: Swift.Bool { |
| | | @objc get |
| | |
| | | @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 |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | @objc public init(content: FBSDKGamingServicesKit.GameRequestContent, delegate: (any FBSDKGamingServicesKit.GameRequestDialogDelegate)?) |
| | | #endif |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | @objc(dialogWithContent:delegate:) public static func dialog(content: FBSDKGamingServicesKit.GameRequestContent, delegate: (any FBSDKGamingServicesKit.GameRequestDialogDelegate)?) -> FBSDKGamingServicesKit.GameRequestDialog |
| | | #endif |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | @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 |
| | | #endif |
| | | @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 { |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | @objc final public func application(_ application: UIKit.UIApplication?, open potentialURL: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool |
| | | #endif |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool |
| | | #endif |
| | | @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) |
| | | @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool |
| | | } |
| | | @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 { |
| | |
| | | case appUsers |
| | | case appNonUsers |
| | | case everybody |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | public init?(rawValue: Swift.UInt) |
| | | #endif |
| | | public typealias RawValue = Swift.UInt |
| | | public var rawValue: Swift.UInt { |
| | | get |
| | | } |
| | | } |
| | | @_inheritsConvenienceInitializers @objcMembers @objc(FBSDKGameRequestURLProvider) final public class GameRequestURLProvider : ObjectiveC.NSObject { |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | @objc(createDeepLinkURLWithQueryDictionary:) final public class func createDeepLinkURL(queryDictionary: [Swift.String : Any]) -> Foundation.URL? |
| | | #endif |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | @objc(filtersNameForFilters:) final public class func filtersName(for filters: FBSDKGamingServicesKit.GameRequestFilter) -> Swift.String? |
| | | #endif |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | @objc(actionTypeNameForActionType:) final public class func actionTypeName(for actionType: FBSDKGamingServicesKit.GameRequestActionType) -> Swift.String? |
| | | #endif |
| | | @objc override dynamic public init() |
| | | @objc deinit |
| | | } |
| | |
| | | @objc(currentContext) public static var current: FBSDKGamingServicesKit.GamingContext? |
| | | @objc final public let identifier: Swift.String |
| | | @objc final public let size: Swift.Int |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | @objc public init?(identifier: Swift.String, size: Swift.Int) |
| | | #endif |
| | | @objc deinit |
| | | } |
| | | @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingGroupIntegration) final public class GamingGroupIntegration : ObjectiveC.NSObject { |
| | |
| | | } |
| | | @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingImageUploader) final public class GamingImageUploader : ObjectiveC.NSObject { |
| | | @objc(uploadImageWithConfiguration:andResultCompletion:) public static func uploadImage(with configuration: FBSDKGamingServicesKit.GamingImageUploaderConfiguration, andResultCompletion completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion) |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | @objc(uploadImageWithConfiguration:completion:andProgressHandler:) public static func uploadImage(with configuration: FBSDKGamingServicesKit.GamingImageUploaderConfiguration, completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion, andProgressHandler progressHandler: FBSDKGamingServicesKit.GamingServiceProgressHandler?) |
| | | #endif |
| | | @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 final public var shouldLaunchMediaDialog: Swift.Bool { |
| | | get |
| | | } |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | @objc public init(image: UIKit.UIImage, caption: Swift.String?, shouldLaunchMediaDialog: Swift.Bool) |
| | | #endif |
| | | @objc deinit |
| | | } |
| | | @objcMembers @objc(FBSDKGamingPayload) final public class GamingPayload : ObjectiveC.NSObject { |
| | |
| | | @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?) |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | @objc convenience public init(delegate: (any FBSDKGamingServicesKit.GamingPayloadDelegate)?) |
| | | #endif |
| | | @objc deinit |
| | | } |
| | | extension FBSDKGamingServicesKit.GamingPayloadObserver : FBSDKCoreKit.FBSDKApplicationObserving { |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | @objc final public func application(_ application: UIKit.UIApplication, open url: Foundation.URL, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool |
| | | #endif |
| | | } |
| | | 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 |
| | |
| | | } |
| | | @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingVideoUploader) final public class GamingVideoUploader : ObjectiveC.NSObject { |
| | | @objc(uploadVideoWithConfiguration:andResultCompletion:) public static func uploadVideo(configuration: FBSDKGamingServicesKit.GamingVideoUploaderConfiguration, completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion) |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | @objc(uploadVideoWithConfiguration:completion:andProgressHandler:) public static func uploadVideo(configuration: FBSDKGamingServicesKit.GamingVideoUploaderConfiguration, completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion, progressHandler: FBSDKGamingServicesKit.GamingServiceProgressHandler?) |
| | | #endif |
| | | @objc deinit |
| | | } |
| | | @objcMembers @objc(FBSDKGamingVideoUploaderConfiguration) final public class GamingVideoUploaderConfiguration : ObjectiveC.NSObject { |
| | |
| | | @objc final public var caption: Swift.String? { |
| | | get |
| | | } |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | @objc public init(videoURL: Foundation.URL, caption: Swift.String?) |
| | | #endif |
| | | @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) |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | final public func showSpecific(tournamentID: Swift.String, payload: Swift.String?, completion: @escaping (Swift.Result<FBSDKGamingServicesKit.JoinTournamentDialogSuccess, any Swift.Error>) -> Swift.Void) |
| | | #endif |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | final public func showSuggested(payload: Swift.String?, completion: @escaping (Swift.Result<FBSDKGamingServicesKit.JoinTournamentDialogSuccess, any Swift.Error>) -> Swift.Void) |
| | | #endif |
| | | @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 |
| | | @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | @objc final public func application(_ application: UIKit.UIApplication?, open url: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool |
| | | #endif |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool |
| | | #endif |
| | | @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) |
| | | @objc deinit |
| | | } |
| | | 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 { |
| | |
| | | } |
| | | @objcMembers @objc(FBSDKSwitchContextContent) final public class SwitchContextContent : ObjectiveC.NSObject, FBSDKGamingServicesKit.ValidatableProtocol { |
| | | @objc(initDialogContentWithContextID:) public init(contextID: Swift.String) |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | @objc override final public func isEqual(_ object: Any?) -> Swift.Bool |
| | | #endif |
| | | @objc final public func validate() throws |
| | | @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 var sortOrder: FBSDKGamingServicesKit.TournamentSortOrder? |
| | | public var payload: Swift.String? |
| | | public var image: UIKit.UIImage? |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | 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) |
| | | #endif |
| | | } |
| | | public enum TournamentFetchError : Swift.Error { |
| | | case server(Swift.Error) |
| | | case server(any Swift.Error) |
| | | case decoding |
| | | case invalidAuthToken |
| | | case invalidAccessToken |
| | | } |
| | | @_hasMissingDesignatedInitializers final public class TournamentFetcher { |
| | | convenience public init() |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | final public func fetchTournaments(completionHandler: @escaping (Swift.Result<[FBSDKGamingServicesKit.Tournament], FBSDKGamingServicesKit.TournamentFetchError>) -> Swift.Void) |
| | | #endif |
| | | @objc deinit |
| | | } |
| | | public enum TournamentScoreType : Swift.String { |
| | | case numeric |
| | | case time |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | public init?(rawValue: Swift.String) |
| | | #endif |
| | | public typealias RawValue = Swift.String |
| | | public var rawValue: Swift.String { |
| | | get |
| | |
| | | public enum TournamentSortOrder : Swift.String { |
| | | case higherIsBetter |
| | | case lowerIsBetter |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | public init?(rawValue: Swift.String) |
| | | #endif |
| | | public typealias RawValue = Swift.String |
| | | public var rawValue: Swift.String { |
| | | get |
| | | } |
| | | } |
| | | public enum TournamentUpdaterError : Swift.Error { |
| | | case server(Swift.Error) |
| | | case server(any Swift.Error) |
| | | case decoding |
| | | case invalidAuthToken |
| | | case invalidAccessToken |
| | |
| | | } |
| | | @_hasMissingDesignatedInitializers final public class TournamentUpdater { |
| | | convenience public init() |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | final public func update(tournamentID: Swift.String, score: Swift.Int, completionHandler: @escaping (Swift.Result<Swift.Bool, FBSDKGamingServicesKit.TournamentUpdaterError>) -> Swift.Void) |
| | | #endif |
| | | #if compiler(>=5.3) && $NonescapableTypes |
| | | final public func update(tournament: FBSDKGamingServicesKit.Tournament, score: Swift.Int, completionHandler: @escaping (Swift.Result<Swift.Bool, FBSDKGamingServicesKit.TournamentUpdaterError>) -> Swift.Void) |
| | | #endif |
| | | @objc deinit |
| | | } |
| | | public protocol URLMedia : Swift.Decodable, Swift.Encodable { |