lpw
2023-06-03 e0ec4235cc7b8d05ec1aaa414ec2d2cac798d74e
commit | author | age
e0ec42 1 // swift-interface-format-version: 1.0
L 2 // swift-compiler-version: Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)
3 // 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
4 // swift-module-flags-ignorable: -enable-bare-slash-regex
5 import FBSDKCoreKit
6 import FBSDKCoreKit_Basics
7 import FBSDKShareKit
8 import Foundation
9 import Swift
10 import UIKit
11 import _Concurrency
12 import _StringProcessing
13 @objc(FBSDKChooseContextFilter) public enum ChooseContextFilter : Swift.Int, Swift.CaseIterable {
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 {
42   @objc convenience public init(content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate)
43   @objc override final public func show() -> Swift.Bool
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)
53   @objc func contextDialog(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog, didFailWithError error: Swift.Error)
54   @objc func contextDialogDidCancel(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog)
55 }
56 @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKContextDialogPresenter) final public class ContextDialogPresenter : ObjectiveC.NSObject {
57   @objc override convenience dynamic public init()
58   @objc final public func makeAndShowCreateContextDialog(content: FBSDKGamingServicesKit.CreateContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) throws
59   @objc final public func makeAndShowSwitchContextDialog(content: FBSDKGamingServicesKit.SwitchContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) throws
60   @objc final public func makeAndShowChooseContextDialog(content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate)
61   @objc deinit
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 {
75   @objc public var delegate: FBSDKGamingServicesKit.ContextDialogDelegate?
76   @objc public var dialogContent: FBSDKGamingServicesKit.ValidatableProtocol?
77   @objc public var currentWebDialog: FBSDKCoreKit._WebDialog?
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])
81   @objc public func webDialog(_ webDialog: FBSDKCoreKit._WebDialog, didFailWithError error: Swift.Error)
82   @objc public func webDialogDidCancel(_ webDialog: FBSDKCoreKit._WebDialog)
83   @objc public func createWebDialogFrame(withWidth width: CoreFoundation.CGFloat, height: CoreFoundation.CGFloat, windowFinder: FBSDKCoreKit._WindowFinding) -> CoreFoundation.CGRect
84   @objc deinit
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 {
94   @objc public init(content: FBSDKGamingServicesKit.CreateContextContent, windowFinder: FBSDKCoreKit._WindowFinding, delegate: FBSDKGamingServicesKit.ContextDialogDelegate)
95   @discardableResult
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 {
116   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] = [:])
117   @objc deinit
118 }
119 public enum CustomUpdateGraphRequestError : Swift.Error {
120   case server(Swift.Error)
121   case invalidAccessToken
122   case contentParsing
123   case decoding
124 }
125 final public class CustomUpdateGraphRequest {
126   final public let graphRequestFactory: FBSDKCoreKit.GraphRequestFactoryProtocol
127   public init()
128   public init(graphRequestFactory: FBSDKCoreKit.GraphRequestFactoryProtocol = GraphRequestFactory())
129   final public func request(content: FBSDKGamingServicesKit.CustomUpdateContentMedia, completionHandler: @escaping (Swift.Result<Swift.Bool, FBSDKGamingServicesKit.CustomUpdateGraphRequestError>) -> Swift.Void) throws
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 {
134   @objc weak var delegate: FBSDKGamingServicesKit.ContextDialogDelegate? { get set }
135   @objc var dialogContent: FBSDKGamingServicesKit.ValidatableProtocol? { get set }
136   @objc func show() -> Swift.Bool
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
145   public func encode(to encoder: Swift.Encoder) throws
146   public init(from decoder: Swift.Decoder) throws
147 }
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
151   public func encode(to encoder: Swift.Encoder) throws
152   public init(from decoder: Swift.Decoder) throws
153 }
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 {
193   @objc weak final public var delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate?
194   @objc final public var content: FBSDKGamingServicesKit.GameRequestContent
195   @objc final public var isFrictionlessRequestsEnabled: Swift.Bool
196   @objc final public var canShow: Swift.Bool {
197     @objc get
198   }
199   @objc public init(content: FBSDKGamingServicesKit.GameRequestContent, delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate?)
200   @objc(dialogWithContent:delegate:) public static func dialog(content: FBSDKGamingServicesKit.GameRequestContent, delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate?) -> FBSDKGamingServicesKit.GameRequestDialog
201   @discardableResult
202   @objc(showWithContent:delegate:) public static func show(content: FBSDKGamingServicesKit.GameRequestContent, delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate?) -> FBSDKGamingServicesKit.GameRequestDialog
203   @objc @discardableResult
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])
210   @objc final public func webDialog(_ webDialog: FBSDKCoreKit._WebDialog, didFailWithError error: Swift.Error)
211   @objc final public func webDialogDidCancel(_ webDialog: FBSDKCoreKit._WebDialog)
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])
221   @objc(gameRequestDialog:didFailWithError:) func gameRequestDialog(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog, didFailWithError error: Swift.Error)
222   @objc func gameRequestDialogDidCancel(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog)
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 {
259   @objc final public func requestConnection(_ connection: FBSDKCoreKit.GraphRequestConnecting, didSendBodyData bytesWritten: Swift.Int, totalBytesWritten: Swift.Int, totalBytesExpectedToWrite: Swift.Int)
260 }
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 {
286   @objc weak final public var delegate: FBSDKGamingServicesKit.GamingPayloadDelegate? {
287     @objc get
288     @objc set
289   }
290   @objc convenience public init(delegate: FBSDKGamingServicesKit.GamingPayloadDelegate?)
291   @objc deinit
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 }
296 public typealias GamingServiceCompletionHandler = (_ success: Swift.Bool, _ error: Swift.Error?) -> Swift.Void
297 public typealias FBSDKGamingServiceCompletionHandler = FBSDKGamingServicesKit.GamingServiceCompletionHandler
298 public typealias GamingServiceResultCompletion = (_ success: Swift.Bool, _ result: [Swift.String : Any]?, _ error: Swift.Error?) -> Swift.Void
299 public typealias FBSDKGamingServiceResultCompletion = FBSDKGamingServicesKit.GamingServiceResultCompletion
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 {
329   public var completion: ((Swift.Result<Success, Swift.Error>) -> Swift.Void)?
330   @objc public func webDialog(_ webDialog: FBSDKCoreKit._WebDialog, didCompleteWithResults results: [Swift.String : Any])
331   @objc public func webDialog(_ webDialog: FBSDKCoreKit._WebDialog, didFailWithError error: Swift.Error)
332   @objc public func webDialogDidCancel(_ webDialog: FBSDKCoreKit._WebDialog)
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()
342   final public func showSpecific(tournamentID: Swift.String, payload: Swift.String?, completion: @escaping (Swift.Result<FBSDKGamingServicesKit.JoinTournamentDialogSuccess, Swift.Error>) -> Swift.Void)
343   final public func showSuggested(payload: Swift.String?, completion: @escaping (Swift.Result<FBSDKGamingServicesKit.JoinTournamentDialogSuccess, Swift.Error>) -> Swift.Void)
344   @objc deinit
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)
358   case bridgeError(Swift.Error)
359 }
360 @objc @_hasMissingDesignatedInitializers final public class ShareTournamentDialog : ObjectiveC.NSObject, FBSDKCoreKit.URLOpening {
361   convenience public init(delegate: FBSDKGamingServicesKit.ShareTournamentDialogDelegate)
362   final public func show(score: Swift.Int, tournamentID: Swift.String) throws
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)
373   func didFail(withError error: Swift.Error, dialog: FBSDKGamingServicesKit.ShareTournamentDialog)
374   func didCancel(dialog: FBSDKGamingServicesKit.ShareTournamentDialog)
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 {
390   @objc public init(content: FBSDKGamingServicesKit.SwitchContextContent, windowFinder: FBSDKCoreKit._WindowFinding, delegate: FBSDKGamingServicesKit.ContextDialogDelegate)
391   @objc override final public func show() -> Swift.Bool
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?
415   public init(from decoder: Swift.Decoder) throws
416   public func encode(to encoder: Swift.Encoder) throws
417 }
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 {
428   case server(Swift.Error)
429   case decoding
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 {
457   case server(Swift.Error)
458   case decoding
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 {}