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