lpw
2024-06-28 2a6e182ea4428bff2e16f033c28850f3a02a93a9
commit | author | age
e0ec42 1 // swift-interface-format-version: 1.0
2a6e18 2 // swift-compiler-version: Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)
L 3 // swift-module-flags: -target arm64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name FBSDKGamingServicesKit
e0ec42 4 import FBSDKCoreKit
L 5 import FBSDKCoreKit_Basics
6 import FBSDKShareKit
7 import Foundation
8 import Swift
9 import UIKit
10 import _Concurrency
11 import _StringProcessing
97fc0a 12 import _SwiftConcurrencyShims
e0ec42 13 @objc(FBSDKChooseContextFilter) public enum ChooseContextFilter : Swift.Int, Swift.CaseIterable {
L 14   case none
15   case existingChallenges
16   case newPlayersOnly
17   case newContextOnly
18   public var name: Swift.String {
19     get
20   }
21   public init?(rawValue: Swift.Int)
22   public typealias AllCases = [FBSDKGamingServicesKit.ChooseContextFilter]
23   public typealias RawValue = Swift.Int
24   public static var allCases: [FBSDKGamingServicesKit.ChooseContextFilter] {
25     get
26   }
27   public var rawValue: Swift.Int {
28     get
29   }
30 }
31 @_inheritsConvenienceInitializers @objcMembers @objc(FBSDKChooseContextContent) final public class ChooseContextContent : ObjectiveC.NSObject, FBSDKGamingServicesKit.ValidatableProtocol {
32   @objc final public var filter: FBSDKGamingServicesKit.ChooseContextFilter
33   @objc final public var maxParticipants: Swift.Int
34   @objc final public var minParticipants: Swift.Int
35   @objc public static func filtersName(forFilters filter: FBSDKGamingServicesKit.ChooseContextFilter) -> Swift.String
36   @objc final public func validate() throws
37   @objc override final public func isEqual(_ object: Any?) -> Swift.Bool
38   @objc override dynamic public init()
39   @objc deinit
40 }
41 @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKChooseContextDialog) final public class ChooseContextDialog : FBSDKGamingServicesKit.ContextWebDialog, FBSDKCoreKit.URLOpening {
97fc0a 42   @objc convenience public init(content: FBSDKGamingServicesKit.ChooseContextContent, delegate: any FBSDKGamingServicesKit.ContextDialogDelegate)
e0ec42 43   @objc override final public func show() -> Swift.Bool
L 44   @objc override final public func validate() throws
45   @objc final public func application(_ application: UIKit.UIApplication?, open url: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool
46   @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool
47   @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication)
48   @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool
49   @objc deinit
50 }
51 @objc(FBSDKContextDialogDelegate) public protocol ContextDialogDelegate {
52   @objc func contextDialogDidComplete(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog)
97fc0a 53   @objc func contextDialog(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog, didFailWithError error: any Swift.Error)
e0ec42 54   @objc func contextDialogDidCancel(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog)
L 55 }
56 @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKContextDialogPresenter) final public class ContextDialogPresenter : ObjectiveC.NSObject {
57   @objc override convenience dynamic public init()
97fc0a 58   @objc final public func makeAndShowCreateContextDialog(content: FBSDKGamingServicesKit.CreateContextContent, delegate: any FBSDKGamingServicesKit.ContextDialogDelegate) throws
L 59   @objc final public func makeAndShowSwitchContextDialog(content: FBSDKGamingServicesKit.SwitchContextContent, delegate: any FBSDKGamingServicesKit.ContextDialogDelegate) throws
60   @objc final public func makeAndShowChooseContextDialog(content: FBSDKGamingServicesKit.ChooseContextContent, delegate: any FBSDKGamingServicesKit.ContextDialogDelegate)
e0ec42 61   @objc deinit
L 62 }
63 public enum ContextDialogPresenterError : Swift.Error {
64   case showCreateContext
65   case showSwitchContext
66   case showChooseContext
67   case invalidAccessToken
68   public static func == (a: FBSDKGamingServicesKit.ContextDialogPresenterError, b: FBSDKGamingServicesKit.ContextDialogPresenterError) -> Swift.Bool
69   public func hash(into hasher: inout Swift.Hasher)
70   public var hashValue: Swift.Int {
71     get
72   }
73 }
74 @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKContextWebDialog) public class ContextWebDialog : ObjectiveC.NSObject, FBSDKCoreKit.WebDialogDelegate, FBSDKGamingServicesKit.DialogProtocol {
97fc0a 75   @objc public var delegate: (any FBSDKGamingServicesKit.ContextDialogDelegate)?
L 76   @objc public var dialogContent: (any FBSDKGamingServicesKit.ValidatableProtocol)?
e0ec42 77   @objc public var currentWebDialog: FBSDKCoreKit._WebDialog?
L 78   @objc public func show() -> Swift.Bool
79   @objc public func validate() throws
80   @objc public func webDialog(_ webDialog: FBSDKCoreKit._WebDialog, didCompleteWithResults results: [Swift.String : Any])
97fc0a 81   @objc public func webDialog(_ webDialog: FBSDKCoreKit._WebDialog, didFailWithError error: any Swift.Error)
e0ec42 82   @objc public func webDialogDidCancel(_ webDialog: FBSDKCoreKit._WebDialog)
97fc0a 83   @objc public func createWebDialogFrame(withWidth width: CoreFoundation.CGFloat, height: CoreFoundation.CGFloat, windowFinder: any FBSDKCoreKit._WindowFinding) -> CoreFoundation.CGRect
e0ec42 84   @objc deinit
L 85 }
86 @objcMembers @objc(FBSDKCreateContextContent) final public class CreateContextContent : ObjectiveC.NSObject, FBSDKGamingServicesKit.ValidatableProtocol {
87   @objc final public var playerID: Swift.String
88   @objc(initDialogContentWithPlayerID:) public init(playerID: Swift.String)
89   @objc override final public func isEqual(_ object: Any?) -> Swift.Bool
90   @objc final public func validate() throws
91   @objc deinit
92 }
93 @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKCreateContextDialog) final public class CreateContextDialog : FBSDKGamingServicesKit.ContextWebDialog {
97fc0a 94   @objc public init(content: FBSDKGamingServicesKit.CreateContextContent, windowFinder: any FBSDKCoreKit._WindowFinding, delegate: any FBSDKGamingServicesKit.ContextDialogDelegate)
e0ec42 95   @discardableResult
L 96   @objc override final public func show() -> Swift.Bool
97   @objc override final public func validate() throws
98   @objc deinit
99 }
100 public enum CustomUpdateContentError : Swift.Error {
101   case notInGameContext
102   case invalidMessage
103   case invalidMedia
104   case invalidImage
105   public static func == (a: FBSDKGamingServicesKit.CustomUpdateContentError, b: FBSDKGamingServicesKit.CustomUpdateContentError) -> Swift.Bool
106   public func hash(into hasher: inout Swift.Hasher)
107   public var hashValue: Swift.Int {
108     get
109   }
110 }
111 final public class CustomUpdateContentImage {
112   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] = [:])
113   @objc deinit
114 }
115 final public class CustomUpdateContentMedia {
97fc0a 116   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] = [:])
e0ec42 117   @objc deinit
L 118 }
119 public enum CustomUpdateGraphRequestError : Swift.Error {
97fc0a 120   case server(any Swift.Error)
e0ec42 121   case invalidAccessToken
L 122   case contentParsing
123   case decoding
124 }
125 final public class CustomUpdateGraphRequest {
97fc0a 126   final public let graphRequestFactory: any FBSDKCoreKit.GraphRequestFactoryProtocol
e0ec42 127   public init()
97fc0a 128   public init(graphRequestFactory: any FBSDKCoreKit.GraphRequestFactoryProtocol = GraphRequestFactory())
e0ec42 129   final public func request(content: FBSDKGamingServicesKit.CustomUpdateContentMedia, completionHandler: @escaping (Swift.Result<Swift.Bool, FBSDKGamingServicesKit.CustomUpdateGraphRequestError>) -> Swift.Void) throws
L 130   final public func request(content: FBSDKGamingServicesKit.CustomUpdateContentImage, completionHandler: @escaping (Swift.Result<Swift.Bool, FBSDKGamingServicesKit.CustomUpdateGraphRequestError>) -> Swift.Void) throws
131   @objc deinit
132 }
133 @objc(FBSDKDialog) public protocol DialogProtocol {
97fc0a 134   @objc weak var delegate: (any FBSDKGamingServicesKit.ContextDialogDelegate)? { get set }
L 135   @objc var dialogContent: (any FBSDKGamingServicesKit.ValidatableProtocol)? { get set }
e0ec42 136   @objc func show() -> Swift.Bool
L 137   @objc func validate() throws
138 }
139 @objc(FBSDKValidatable) public protocol ValidatableProtocol {
140   @objc func validate() throws
141 }
142 public struct FacebookGIF : Swift.Codable, Swift.Equatable, FBSDKGamingServicesKit.URLMedia {
143   public init(withUrl url: Foundation.URL)
144   public static func == (a: FBSDKGamingServicesKit.FacebookGIF, b: FBSDKGamingServicesKit.FacebookGIF) -> Swift.Bool
97fc0a 145   public func encode(to encoder: any Swift.Encoder) throws
L 146   public init(from decoder: any Swift.Decoder) throws
e0ec42 147 }
L 148 public struct FacebookVideo : Swift.Codable, Swift.Equatable, FBSDKGamingServicesKit.URLMedia {
149   public init(withUrl url: Foundation.URL)
150   public static func == (a: FBSDKGamingServicesKit.FacebookVideo, b: FBSDKGamingServicesKit.FacebookVideo) -> Swift.Bool
97fc0a 151   public func encode(to encoder: any Swift.Encoder) throws
L 152   public init(from decoder: any Swift.Decoder) throws
e0ec42 153 }
L 154 @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc(FBSDKFriendFinderDialog) final public class FriendFinderDialog : ObjectiveC.NSObject {
155   @objc override convenience dynamic public init()
156   @objc(launchFriendFinderDialogWithCompletionHandler:) public static func launch(completionHandler: @escaping FBSDKGamingServicesKit.GamingServiceCompletionHandler)
157   @objc deinit
158 }
159 @objc(FBSDKGameRequestActionType) public enum GameRequestActionType : Swift.UInt {
160   case none
161   case send
162   case askFor
163   case turn
164   case invite
165   public init?(rawValue: Swift.UInt)
166   public typealias RawValue = Swift.UInt
167   public var rawValue: Swift.UInt {
168     get
169   }
170 }
171 @_inheritsConvenienceInitializers @objcMembers @objc(FBSDKGameRequestContent) final public class GameRequestContent : ObjectiveC.NSObject, FBSDKShareKit.SharingValidatable, Foundation.NSSecureCoding {
172   @objc final public var actionType: FBSDKGamingServicesKit.GameRequestActionType
173   @objc final public var data: Swift.String?
174   @objc final public var filters: FBSDKGamingServicesKit.GameRequestFilter
175   @objc final public var message: Swift.String
176   @objc final public var objectID: Swift.String
177   @objc final public var recipients: [Swift.String]
178   @objc final public var recipientSuggestions: [Swift.String]
179   @objc final public var title: Swift.String
180   @objc final public var cta: Swift.String
181   @objc(validateWithOptions:error:) final public func validate(options: FBSDKShareKit.ShareBridgeOptions = []) throws
182   @objc override final public func isEqual(_ object: Any?) -> Swift.Bool
183   @objc(isEqualToGameRequestContent:) final public func isEqual(to content: FBSDKGamingServicesKit.GameRequestContent) -> Swift.Bool
184   @objc final public class var supportsSecureCoding: Swift.Bool {
185     @objc get
186   }
187   @objc convenience public init(coder decoder: Foundation.NSCoder)
188   @objc final public func encode(with encoder: Foundation.NSCoder)
189   @objc override dynamic public init()
190   @objc deinit
191 }
192 @objcMembers @objc(FBSDKGameRequestDialog) final public class GameRequestDialog : ObjectiveC.NSObject {
97fc0a 193   @objc weak final public var delegate: (any FBSDKGamingServicesKit.GameRequestDialogDelegate)?
e0ec42 194   @objc final public var content: FBSDKGamingServicesKit.GameRequestContent
L 195   @objc final public var isFrictionlessRequestsEnabled: Swift.Bool
196   @objc final public var canShow: Swift.Bool {
197     @objc get
198   }
97fc0a 199   @objc public init(content: FBSDKGamingServicesKit.GameRequestContent, delegate: (any FBSDKGamingServicesKit.GameRequestDialogDelegate)?)
L 200   @objc(dialogWithContent:delegate:) public static func dialog(content: FBSDKGamingServicesKit.GameRequestContent, delegate: (any FBSDKGamingServicesKit.GameRequestDialogDelegate)?) -> FBSDKGamingServicesKit.GameRequestDialog
e0ec42 201   @discardableResult
97fc0a 202   @objc(showWithContent:delegate:) public static func show(content: FBSDKGamingServicesKit.GameRequestContent, delegate: (any FBSDKGamingServicesKit.GameRequestDialogDelegate)?) -> FBSDKGamingServicesKit.GameRequestDialog
e0ec42 203   @objc @discardableResult
L 204   final public func show() -> Swift.Bool
205   @objc(validateWithError:) final public func validate() throws
206   @objc deinit
207 }
208 extension FBSDKGamingServicesKit.GameRequestDialog : FBSDKCoreKit.WebDialogDelegate {
209   @objc final public func webDialog(_ webDialog: FBSDKCoreKit._WebDialog, didCompleteWithResults results: [Swift.String : Any])
97fc0a 210   @objc final public func webDialog(_ webDialog: FBSDKCoreKit._WebDialog, didFailWithError error: any Swift.Error)
e0ec42 211   @objc final public func webDialogDidCancel(_ webDialog: FBSDKCoreKit._WebDialog)
L 212 }
213 extension FBSDKGamingServicesKit.GameRequestDialog : FBSDKCoreKit.URLOpening {
214   @objc final public func application(_ application: UIKit.UIApplication?, open potentialURL: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool
215   @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool
216   @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication)
217   @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool
218 }
219 @objc(FBSDKGameRequestDialogDelegate) public protocol GameRequestDialogDelegate {
220   @objc(gameRequestDialog:didCompleteWithResults:) func gameRequestDialog(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog, didCompleteWithResults results: [Swift.String : Any])
97fc0a 221   @objc(gameRequestDialog:didFailWithError:) func gameRequestDialog(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog, didFailWithError error: any Swift.Error)
e0ec42 222   @objc func gameRequestDialogDidCancel(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog)
L 223 }
224 @objc(FBSDKGameRequestFilter) public enum GameRequestFilter : Swift.UInt {
225   case none
226   case appUsers
227   case appNonUsers
228   case everybody
229   public init?(rawValue: Swift.UInt)
230   public typealias RawValue = Swift.UInt
231   public var rawValue: Swift.UInt {
232     get
233   }
234 }
235 @_inheritsConvenienceInitializers @objcMembers @objc(FBSDKGameRequestURLProvider) final public class GameRequestURLProvider : ObjectiveC.NSObject {
236   @objc(createDeepLinkURLWithQueryDictionary:) final public class func createDeepLinkURL(queryDictionary: [Swift.String : Any]) -> Foundation.URL?
237   @objc(filtersNameForFilters:) final public class func filtersName(for filters: FBSDKGamingServicesKit.GameRequestFilter) -> Swift.String?
238   @objc(actionTypeNameForActionType:) final public class func actionTypeName(for actionType: FBSDKGamingServicesKit.GameRequestActionType) -> Swift.String?
239   @objc override dynamic public init()
240   @objc deinit
241 }
242 @objcMembers @objc(FBSDKGamingContext) final public class GamingContext : ObjectiveC.NSObject {
243   @objc(currentContext) public static var current: FBSDKGamingServicesKit.GamingContext?
244   @objc final public let identifier: Swift.String
245   @objc final public let size: Swift.Int
246   @objc public init?(identifier: Swift.String, size: Swift.Int)
247   @objc deinit
248 }
249 @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingGroupIntegration) final public class GamingGroupIntegration : ObjectiveC.NSObject {
250   @objc public static func openGroupPage(completionHandler: @escaping FBSDKGamingServicesKit.GamingServiceCompletionHandler)
251   @objc deinit
252 }
253 @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingImageUploader) final public class GamingImageUploader : ObjectiveC.NSObject {
254   @objc(uploadImageWithConfiguration:andResultCompletion:) public static func uploadImage(with configuration: FBSDKGamingServicesKit.GamingImageUploaderConfiguration, andResultCompletion completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion)
255   @objc(uploadImageWithConfiguration:completion:andProgressHandler:) public static func uploadImage(with configuration: FBSDKGamingServicesKit.GamingImageUploaderConfiguration, completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion, andProgressHandler progressHandler: FBSDKGamingServicesKit.GamingServiceProgressHandler?)
256   @objc deinit
257 }
258 extension FBSDKGamingServicesKit.GamingImageUploader : FBSDKCoreKit.GraphRequestConnectionDelegate {
97fc0a 259   @objc final public func requestConnection(_ connection: any FBSDKCoreKit.GraphRequestConnecting, didSendBodyData bytesWritten: Swift.Int, totalBytesWritten: Swift.Int, totalBytesExpectedToWrite: Swift.Int)
e0ec42 260 }
L 261 @objcMembers @objc(FBSDKGamingImageUploaderConfiguration) final public class GamingImageUploaderConfiguration : ObjectiveC.NSObject {
262   @objc final public var image: UIKit.UIImage {
263     get
264   }
265   @objc final public var caption: Swift.String? {
266     get
267   }
268   @objc final public var shouldLaunchMediaDialog: Swift.Bool {
269     get
270   }
271   @objc public init(image: UIKit.UIImage, caption: Swift.String?, shouldLaunchMediaDialog: Swift.Bool)
272   @objc deinit
273 }
274 @objcMembers @objc(FBSDKGamingPayload) final public class GamingPayload : ObjectiveC.NSObject {
275   @objc final public var URL: FBSDKCoreKit.AppLinkURL
276   @objc final public var payload: Swift.String
277   @objc public init(URL: FBSDKCoreKit.AppLinkURL)
278   @objc deinit
279 }
280 @objc(FBSDKGamingPayloadDelegate) public protocol GamingPayloadDelegate : ObjectiveC.NSObjectProtocol {
281   @objc optional func parsedGameRequestURLContaining(_ payload: FBSDKGamingServicesKit.GamingPayload, gameRequestID: Swift.String)
282   @objc optional func parsedGamingContextURLContaining(_ payload: FBSDKGamingServicesKit.GamingPayload)
283   @objc optional func parsedTournamentURLContaining(_ payload: FBSDKGamingServicesKit.GamingPayload, tournamentID: Swift.String)
284 }
285 @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingPayloadObserver) final public class GamingPayloadObserver : ObjectiveC.NSObject {
97fc0a 286   @objc weak final public var delegate: (any FBSDKGamingServicesKit.GamingPayloadDelegate)? {
e0ec42 287     @objc get
L 288     @objc set
289   }
97fc0a 290   @objc convenience public init(delegate: (any FBSDKGamingServicesKit.GamingPayloadDelegate)?)
e0ec42 291   @objc deinit
L 292 }
293 extension FBSDKGamingServicesKit.GamingPayloadObserver : FBSDKCoreKit.FBSDKApplicationObserving {
294   @objc final public func application(_ application: UIKit.UIApplication, open url: Foundation.URL, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool
295 }
97fc0a 296 public typealias GamingServiceCompletionHandler = (_ success: Swift.Bool, _ error: (any Swift.Error)?) -> Swift.Void
e0ec42 297 public typealias FBSDKGamingServiceCompletionHandler = FBSDKGamingServicesKit.GamingServiceCompletionHandler
97fc0a 298 public typealias GamingServiceResultCompletion = (_ success: Swift.Bool, _ result: [Swift.String : Any]?, _ error: (any Swift.Error)?) -> Swift.Void
e0ec42 299 public typealias FBSDKGamingServiceResultCompletion = FBSDKGamingServicesKit.GamingServiceResultCompletion
L 300 public typealias GamingServiceProgressHandler = (_ bytesSent: Swift.Int64, _ totalBytesSent: Swift.Int64, _ totalBytesExpectedToSend: Swift.Int64) -> Swift.Void
301 public typealias FBSDKGamingServiceProgressHandler = FBSDKGamingServicesKit.GamingServiceProgressHandler
302 public enum GamingServicesDialogError : Swift.Error {
303   case invalidContentType
304   case missingContent
305   case deeplinkURLCreation
306   case cancelled
307   public static func == (a: FBSDKGamingServicesKit.GamingServicesDialogError, b: FBSDKGamingServicesKit.GamingServicesDialogError) -> Swift.Bool
308   public func hash(into hasher: inout Swift.Hasher)
309   public var hashValue: Swift.Int {
310     get
311   }
312 }
313 @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingVideoUploader) final public class GamingVideoUploader : ObjectiveC.NSObject {
314   @objc(uploadVideoWithConfiguration:andResultCompletion:) public static func uploadVideo(configuration: FBSDKGamingServicesKit.GamingVideoUploaderConfiguration, completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion)
315   @objc(uploadVideoWithConfiguration:completion:andProgressHandler:) public static func uploadVideo(configuration: FBSDKGamingServicesKit.GamingVideoUploaderConfiguration, completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion, progressHandler: FBSDKGamingServicesKit.GamingServiceProgressHandler?)
316   @objc deinit
317 }
318 @objcMembers @objc(FBSDKGamingVideoUploaderConfiguration) final public class GamingVideoUploaderConfiguration : ObjectiveC.NSObject {
319   @objc final public var videoURL: Foundation.URL {
320     get
321   }
322   @objc final public var caption: Swift.String? {
323     get
324   }
325   @objc public init(videoURL: Foundation.URL, caption: Swift.String?)
326   @objc deinit
327 }
328 @_hasMissingDesignatedInitializers public class GamingWebDialog<Success> : FBSDKCoreKit.WebDialogDelegate where Success : FBSDKGamingServicesKit.GamingWebDialogSuccess {
97fc0a 329   public var completion: ((Swift.Result<Success, any Swift.Error>) -> Swift.Void)?
e0ec42 330   @objc public func webDialog(_ webDialog: FBSDKCoreKit._WebDialog, didCompleteWithResults results: [Swift.String : Any])
97fc0a 331   @objc public func webDialog(_ webDialog: FBSDKCoreKit._WebDialog, didFailWithError error: any Swift.Error)
e0ec42 332   @objc public func webDialogDidCancel(_ webDialog: FBSDKCoreKit._WebDialog)
L 333   @objc deinit
334 }
335 public protocol GamingWebDialogSuccess {
336   init(_ dict: [Swift.String : Any]) throws
337 }
338 @_hasMissingDesignatedInitializers final public class JoinTournamentDialog : FBSDKGamingServicesKit.GamingWebDialog<FBSDKGamingServicesKit.JoinTournamentDialogSuccess> {
339   final public var tournamentID: Swift.String?
340   final public var payload: Swift.String?
341   public init()
97fc0a 342   final public func showSpecific(tournamentID: Swift.String, payload: Swift.String?, completion: @escaping (Swift.Result<FBSDKGamingServicesKit.JoinTournamentDialogSuccess, any Swift.Error>) -> Swift.Void)
L 343   final public func showSuggested(payload: Swift.String?, completion: @escaping (Swift.Result<FBSDKGamingServicesKit.JoinTournamentDialogSuccess, any Swift.Error>) -> Swift.Void)
e0ec42 344   @objc deinit
L 345 }
346 public struct JoinTournamentDialogSuccess : FBSDKGamingServicesKit.GamingWebDialogSuccess {
347   public let tournamentID: Swift.String
348   public let payload: Swift.String?
349   public init(_ dict: [Swift.String : Any]) throws
350 }
351 public enum ShareTournamentDialogError : Swift.Error {
352   case invalidAccessToken
353   case invalidAuthToken
354   case invalidTournamentID
355   case unableToCreateDialogUrl
356   case unknownBridgeError
357   case errorMessage(Swift.String)
97fc0a 358   case bridgeError(any Swift.Error)
e0ec42 359 }
L 360 @objc @_hasMissingDesignatedInitializers final public class ShareTournamentDialog : ObjectiveC.NSObject, FBSDKCoreKit.URLOpening {
97fc0a 361   convenience public init(delegate: any FBSDKGamingServicesKit.ShareTournamentDialogDelegate)
e0ec42 362   final public func show(score: Swift.Int, tournamentID: Swift.String) throws
L 363   final public func show(score: Swift.Int, tournament: FBSDKGamingServicesKit.Tournament) throws
364   final public func show(initialScore: Swift.Int, config configuration: FBSDKGamingServicesKit.TournamentConfig) throws
365   @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool
366   @objc final public func application(_ application: UIKit.UIApplication?, open url: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool
367   @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool
368   @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication)
369   @objc deinit
370 }
371 public protocol ShareTournamentDialogDelegate : AnyObject {
372   func didComplete(dialog: FBSDKGamingServicesKit.ShareTournamentDialog, tournament: FBSDKGamingServicesKit.Tournament)
97fc0a 373   func didFail(withError error: any Swift.Error, dialog: FBSDKGamingServicesKit.ShareTournamentDialog)
e0ec42 374   func didCancel(dialog: FBSDKGamingServicesKit.ShareTournamentDialog)
L 375 }
376 @objc(FBSDKShowable) public protocol Showable {
377   @objc func show() -> Swift.Bool
378 }
379 extension FBSDKGamingServicesKit.ChooseContextDialog : FBSDKGamingServicesKit.Showable {
380 }
381 extension FBSDKGamingServicesKit.CreateContextDialog : FBSDKGamingServicesKit.Showable {
382 }
383 @objcMembers @objc(FBSDKSwitchContextContent) final public class SwitchContextContent : ObjectiveC.NSObject, FBSDKGamingServicesKit.ValidatableProtocol {
384   @objc(initDialogContentWithContextID:) public init(contextID: Swift.String)
385   @objc override final public func isEqual(_ object: Any?) -> Swift.Bool
386   @objc final public func validate() throws
387   @objc deinit
388 }
389 @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKSwitchContextDialog) final public class SwitchContextDialog : FBSDKGamingServicesKit.ContextWebDialog, FBSDKGamingServicesKit.Showable {
97fc0a 390   @objc public init(content: FBSDKGamingServicesKit.SwitchContextContent, windowFinder: any FBSDKCoreKit._WindowFinding, delegate: any FBSDKGamingServicesKit.ContextDialogDelegate)
e0ec42 391   @objc override final public func show() -> Swift.Bool
L 392   @objc override final public func validate() throws
393   @objc deinit
394 }
395 public enum TournamentDecodingError : Swift.Error {
396   case invalidExpirationDate
397   case invalidScoreType
398   public static func == (a: FBSDKGamingServicesKit.TournamentDecodingError, b: FBSDKGamingServicesKit.TournamentDecodingError) -> Swift.Bool
399   public func hash(into hasher: inout Swift.Hasher)
400   public var hashValue: Swift.Int {
401     get
402   }
403 }
404 public struct Tournament : Swift.Codable {
405   public var identifier: Swift.String {
406     get
407   }
408   public var endTime: Foundation.Date? {
409     get
410   }
411   public var title: Swift.String? {
412     get
413   }
414   public var payload: Swift.String?
97fc0a 415   public init(from decoder: any Swift.Decoder) throws
L 416   public func encode(to encoder: any Swift.Encoder) throws
e0ec42 417 }
L 418 public struct TournamentConfig {
419   public var title: Swift.String?
420   public var endTime: Foundation.TimeInterval?
421   public var scoreType: FBSDKGamingServicesKit.TournamentScoreType?
422   public var sortOrder: FBSDKGamingServicesKit.TournamentSortOrder?
423   public var payload: Swift.String?
424   public var image: UIKit.UIImage?
425   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)
426 }
427 public enum TournamentFetchError : Swift.Error {
97fc0a 428   case server(any Swift.Error)
e0ec42 429   case decoding
L 430   case invalidAuthToken
431   case invalidAccessToken
432 }
433 @_hasMissingDesignatedInitializers final public class TournamentFetcher {
434   convenience public init()
435   final public func fetchTournaments(completionHandler: @escaping (Swift.Result<[FBSDKGamingServicesKit.Tournament], FBSDKGamingServicesKit.TournamentFetchError>) -> Swift.Void)
436   @objc deinit
437 }
438 public enum TournamentScoreType : Swift.String {
439   case numeric
440   case time
441   public init?(rawValue: Swift.String)
442   public typealias RawValue = Swift.String
443   public var rawValue: Swift.String {
444     get
445   }
446 }
447 public enum TournamentSortOrder : Swift.String {
448   case higherIsBetter
449   case lowerIsBetter
450   public init?(rawValue: Swift.String)
451   public typealias RawValue = Swift.String
452   public var rawValue: Swift.String {
453     get
454   }
455 }
456 public enum TournamentUpdaterError : Swift.Error {
97fc0a 457   case server(any Swift.Error)
e0ec42 458   case decoding
L 459   case invalidAuthToken
460   case invalidAccessToken
461   case invalidTournamentID
462 }
463 @_hasMissingDesignatedInitializers final public class TournamentUpdater {
464   convenience public init()
465   final public func update(tournamentID: Swift.String, score: Swift.Int, completionHandler: @escaping (Swift.Result<Swift.Bool, FBSDKGamingServicesKit.TournamentUpdaterError>) -> Swift.Void)
466   final public func update(tournament: FBSDKGamingServicesKit.Tournament, score: Swift.Int, completionHandler: @escaping (Swift.Result<Swift.Bool, FBSDKGamingServicesKit.TournamentUpdaterError>) -> Swift.Void)
467   @objc deinit
468 }
469 public protocol URLMedia : Swift.Decodable, Swift.Encodable {
470   init(withUrl: Foundation.URL)
471 }
472 extension FBSDKGamingServicesKit.ChooseContextFilter : Swift.Equatable {}
473 extension FBSDKGamingServicesKit.ChooseContextFilter : Swift.Hashable {}
474 extension FBSDKGamingServicesKit.ChooseContextFilter : Swift.RawRepresentable {}
475 extension FBSDKGamingServicesKit.ContextDialogPresenterError : Swift.Equatable {}
476 extension FBSDKGamingServicesKit.ContextDialogPresenterError : Swift.Hashable {}
477 extension FBSDKGamingServicesKit.CustomUpdateContentError : Swift.Equatable {}
478 extension FBSDKGamingServicesKit.CustomUpdateContentError : Swift.Hashable {}
479 extension FBSDKGamingServicesKit.GameRequestActionType : Swift.Equatable {}
480 extension FBSDKGamingServicesKit.GameRequestActionType : Swift.Hashable {}
481 extension FBSDKGamingServicesKit.GameRequestActionType : Swift.RawRepresentable {}
482 extension FBSDKGamingServicesKit.GameRequestFilter : Swift.Equatable {}
483 extension FBSDKGamingServicesKit.GameRequestFilter : Swift.Hashable {}
484 extension FBSDKGamingServicesKit.GameRequestFilter : Swift.RawRepresentable {}
485 extension FBSDKGamingServicesKit.GamingServicesDialogError : Swift.Equatable {}
486 extension FBSDKGamingServicesKit.GamingServicesDialogError : Swift.Hashable {}
487 extension FBSDKGamingServicesKit.TournamentDecodingError : Swift.Equatable {}
488 extension FBSDKGamingServicesKit.TournamentDecodingError : Swift.Hashable {}
489 extension FBSDKGamingServicesKit.TournamentScoreType : Swift.Equatable {}
490 extension FBSDKGamingServicesKit.TournamentScoreType : Swift.Hashable {}
491 extension FBSDKGamingServicesKit.TournamentScoreType : Swift.RawRepresentable {}
492 extension FBSDKGamingServicesKit.TournamentSortOrder : Swift.Equatable {}
493 extension FBSDKGamingServicesKit.TournamentSortOrder : Swift.Hashable {}
494 extension FBSDKGamingServicesKit.TournamentSortOrder : Swift.RawRepresentable {}