commit | author | age
|
e0ec42
|
1 |
#if 0 |
L |
2 |
#elif defined(__arm64__) && __arm64__ |
97fc0a
|
3 |
// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) |
e0ec42
|
4 |
#ifndef FBSDKCOREKIT_SWIFT_H |
L |
5 |
#define FBSDKCOREKIT_SWIFT_H |
|
6 |
#pragma clang diagnostic push |
|
7 |
#pragma clang diagnostic ignored "-Wgcc-compat" |
|
8 |
|
|
9 |
#if !defined(__has_include) |
|
10 |
# define __has_include(x) 0 |
|
11 |
#endif |
|
12 |
#if !defined(__has_attribute) |
|
13 |
# define __has_attribute(x) 0 |
|
14 |
#endif |
|
15 |
#if !defined(__has_feature) |
|
16 |
# define __has_feature(x) 0 |
|
17 |
#endif |
|
18 |
#if !defined(__has_warning) |
|
19 |
# define __has_warning(x) 0 |
|
20 |
#endif |
|
21 |
|
|
22 |
#if __has_include(<swift/objc-prologue.h>) |
|
23 |
# include <swift/objc-prologue.h> |
|
24 |
#endif |
|
25 |
|
|
26 |
#pragma clang diagnostic ignored "-Wauto-import" |
|
27 |
#if defined(__OBJC__) |
|
28 |
#include <Foundation/Foundation.h> |
|
29 |
#endif |
|
30 |
#if defined(__cplusplus) |
|
31 |
#include <cstdint> |
|
32 |
#include <cstddef> |
|
33 |
#include <cstdbool> |
97fc0a
|
34 |
#include <cstring> |
L |
35 |
#include <stdlib.h> |
|
36 |
#include <new> |
|
37 |
#include <type_traits> |
e0ec42
|
38 |
#else |
L |
39 |
#include <stdint.h> |
|
40 |
#include <stddef.h> |
|
41 |
#include <stdbool.h> |
97fc0a
|
42 |
#include <string.h> |
L |
43 |
#endif |
|
44 |
#if defined(__cplusplus) |
|
45 |
#if defined(__arm64e__) && __has_include(<ptrauth.h>) |
|
46 |
# include <ptrauth.h> |
|
47 |
#else |
|
48 |
#pragma clang diagnostic push |
|
49 |
#pragma clang diagnostic ignored "-Wreserved-macro-identifier" |
|
50 |
# ifndef __ptrauth_swift_value_witness_function_pointer |
|
51 |
# define __ptrauth_swift_value_witness_function_pointer(x) |
|
52 |
# endif |
|
53 |
# ifndef __ptrauth_swift_class_method_pointer |
|
54 |
# define __ptrauth_swift_class_method_pointer(x) |
|
55 |
# endif |
|
56 |
#pragma clang diagnostic pop |
|
57 |
#endif |
e0ec42
|
58 |
#endif |
L |
59 |
|
|
60 |
#if !defined(SWIFT_TYPEDEFS) |
|
61 |
# define SWIFT_TYPEDEFS 1 |
|
62 |
# if __has_include(<uchar.h>) |
|
63 |
# include <uchar.h> |
|
64 |
# elif !defined(__cplusplus) |
|
65 |
typedef uint_least16_t char16_t; |
|
66 |
typedef uint_least32_t char32_t; |
|
67 |
# endif |
|
68 |
typedef float swift_float2 __attribute__((__ext_vector_type__(2))); |
|
69 |
typedef float swift_float3 __attribute__((__ext_vector_type__(3))); |
|
70 |
typedef float swift_float4 __attribute__((__ext_vector_type__(4))); |
|
71 |
typedef double swift_double2 __attribute__((__ext_vector_type__(2))); |
|
72 |
typedef double swift_double3 __attribute__((__ext_vector_type__(3))); |
|
73 |
typedef double swift_double4 __attribute__((__ext_vector_type__(4))); |
|
74 |
typedef int swift_int2 __attribute__((__ext_vector_type__(2))); |
|
75 |
typedef int swift_int3 __attribute__((__ext_vector_type__(3))); |
|
76 |
typedef int swift_int4 __attribute__((__ext_vector_type__(4))); |
|
77 |
typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); |
|
78 |
typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); |
|
79 |
typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); |
|
80 |
#endif |
|
81 |
|
|
82 |
#if !defined(SWIFT_PASTE) |
|
83 |
# define SWIFT_PASTE_HELPER(x, y) x##y |
|
84 |
# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) |
|
85 |
#endif |
|
86 |
#if !defined(SWIFT_METATYPE) |
|
87 |
# define SWIFT_METATYPE(X) Class |
|
88 |
#endif |
|
89 |
#if !defined(SWIFT_CLASS_PROPERTY) |
|
90 |
# if __has_feature(objc_class_property) |
|
91 |
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ |
|
92 |
# else |
97fc0a
|
93 |
# define SWIFT_CLASS_PROPERTY(...) |
e0ec42
|
94 |
# endif |
L |
95 |
#endif |
97fc0a
|
96 |
#if !defined(SWIFT_RUNTIME_NAME) |
L |
97 |
# if __has_attribute(objc_runtime_name) |
|
98 |
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) |
|
99 |
# else |
|
100 |
# define SWIFT_RUNTIME_NAME(X) |
|
101 |
# endif |
e0ec42
|
102 |
#endif |
97fc0a
|
103 |
#if !defined(SWIFT_COMPILE_NAME) |
L |
104 |
# if __has_attribute(swift_name) |
|
105 |
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) |
|
106 |
# else |
|
107 |
# define SWIFT_COMPILE_NAME(X) |
|
108 |
# endif |
e0ec42
|
109 |
#endif |
97fc0a
|
110 |
#if !defined(SWIFT_METHOD_FAMILY) |
L |
111 |
# if __has_attribute(objc_method_family) |
|
112 |
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) |
|
113 |
# else |
|
114 |
# define SWIFT_METHOD_FAMILY(X) |
|
115 |
# endif |
e0ec42
|
116 |
#endif |
97fc0a
|
117 |
#if !defined(SWIFT_NOESCAPE) |
L |
118 |
# if __has_attribute(noescape) |
|
119 |
# define SWIFT_NOESCAPE __attribute__((noescape)) |
|
120 |
# else |
|
121 |
# define SWIFT_NOESCAPE |
|
122 |
# endif |
e0ec42
|
123 |
#endif |
97fc0a
|
124 |
#if !defined(SWIFT_RELEASES_ARGUMENT) |
L |
125 |
# if __has_attribute(ns_consumed) |
|
126 |
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) |
|
127 |
# else |
|
128 |
# define SWIFT_RELEASES_ARGUMENT |
|
129 |
# endif |
e0ec42
|
130 |
#endif |
97fc0a
|
131 |
#if !defined(SWIFT_WARN_UNUSED_RESULT) |
L |
132 |
# if __has_attribute(warn_unused_result) |
|
133 |
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) |
|
134 |
# else |
|
135 |
# define SWIFT_WARN_UNUSED_RESULT |
|
136 |
# endif |
e0ec42
|
137 |
#endif |
97fc0a
|
138 |
#if !defined(SWIFT_NORETURN) |
L |
139 |
# if __has_attribute(noreturn) |
|
140 |
# define SWIFT_NORETURN __attribute__((noreturn)) |
|
141 |
# else |
|
142 |
# define SWIFT_NORETURN |
|
143 |
# endif |
e0ec42
|
144 |
#endif |
L |
145 |
#if !defined(SWIFT_CLASS_EXTRA) |
97fc0a
|
146 |
# define SWIFT_CLASS_EXTRA |
e0ec42
|
147 |
#endif |
L |
148 |
#if !defined(SWIFT_PROTOCOL_EXTRA) |
97fc0a
|
149 |
# define SWIFT_PROTOCOL_EXTRA |
e0ec42
|
150 |
#endif |
L |
151 |
#if !defined(SWIFT_ENUM_EXTRA) |
97fc0a
|
152 |
# define SWIFT_ENUM_EXTRA |
e0ec42
|
153 |
#endif |
L |
154 |
#if !defined(SWIFT_CLASS) |
|
155 |
# if __has_attribute(objc_subclassing_restricted) |
|
156 |
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA |
|
157 |
# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA |
|
158 |
# else |
|
159 |
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA |
|
160 |
# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA |
|
161 |
# endif |
|
162 |
#endif |
|
163 |
#if !defined(SWIFT_RESILIENT_CLASS) |
|
164 |
# if __has_attribute(objc_class_stub) |
|
165 |
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) |
|
166 |
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) |
|
167 |
# else |
|
168 |
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) |
|
169 |
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) |
|
170 |
# endif |
|
171 |
#endif |
|
172 |
#if !defined(SWIFT_PROTOCOL) |
|
173 |
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA |
|
174 |
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA |
|
175 |
#endif |
|
176 |
#if !defined(SWIFT_EXTENSION) |
|
177 |
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) |
|
178 |
#endif |
|
179 |
#if !defined(OBJC_DESIGNATED_INITIALIZER) |
|
180 |
# if __has_attribute(objc_designated_initializer) |
|
181 |
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) |
|
182 |
# else |
97fc0a
|
183 |
# define OBJC_DESIGNATED_INITIALIZER |
e0ec42
|
184 |
# endif |
L |
185 |
#endif |
|
186 |
#if !defined(SWIFT_ENUM_ATTR) |
97fc0a
|
187 |
# if __has_attribute(enum_extensibility) |
e0ec42
|
188 |
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) |
L |
189 |
# else |
97fc0a
|
190 |
# define SWIFT_ENUM_ATTR(_extensibility) |
e0ec42
|
191 |
# endif |
L |
192 |
#endif |
|
193 |
#if !defined(SWIFT_ENUM) |
|
194 |
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type |
|
195 |
# if __has_feature(generalized_swift_name) |
|
196 |
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type |
|
197 |
# else |
|
198 |
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) |
|
199 |
# endif |
|
200 |
#endif |
|
201 |
#if !defined(SWIFT_UNAVAILABLE) |
|
202 |
# define SWIFT_UNAVAILABLE __attribute__((unavailable)) |
|
203 |
#endif |
|
204 |
#if !defined(SWIFT_UNAVAILABLE_MSG) |
|
205 |
# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) |
|
206 |
#endif |
|
207 |
#if !defined(SWIFT_AVAILABILITY) |
|
208 |
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) |
|
209 |
#endif |
|
210 |
#if !defined(SWIFT_WEAK_IMPORT) |
|
211 |
# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) |
|
212 |
#endif |
|
213 |
#if !defined(SWIFT_DEPRECATED) |
|
214 |
# define SWIFT_DEPRECATED __attribute__((deprecated)) |
|
215 |
#endif |
|
216 |
#if !defined(SWIFT_DEPRECATED_MSG) |
|
217 |
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) |
|
218 |
#endif |
97fc0a
|
219 |
#if !defined(SWIFT_DEPRECATED_OBJC) |
L |
220 |
# if __has_feature(attribute_diagnose_if_objc) |
|
221 |
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) |
|
222 |
# else |
|
223 |
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) |
|
224 |
# endif |
e0ec42
|
225 |
#endif |
L |
226 |
#if defined(__OBJC__) |
|
227 |
#if !defined(IBSegueAction) |
97fc0a
|
228 |
# define IBSegueAction |
e0ec42
|
229 |
#endif |
L |
230 |
#endif |
|
231 |
#if !defined(SWIFT_EXTERN) |
|
232 |
# if defined(__cplusplus) |
|
233 |
# define SWIFT_EXTERN extern "C" |
|
234 |
# else |
|
235 |
# define SWIFT_EXTERN extern |
|
236 |
# endif |
|
237 |
#endif |
|
238 |
#if !defined(SWIFT_CALL) |
|
239 |
# define SWIFT_CALL __attribute__((swiftcall)) |
|
240 |
#endif |
97fc0a
|
241 |
#if !defined(SWIFT_INDIRECT_RESULT) |
L |
242 |
# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) |
e0ec42
|
243 |
#endif |
97fc0a
|
244 |
#if !defined(SWIFT_CONTEXT) |
L |
245 |
# define SWIFT_CONTEXT __attribute__((swift_context)) |
|
246 |
#endif |
|
247 |
#if !defined(SWIFT_ERROR_RESULT) |
|
248 |
# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) |
|
249 |
#endif |
|
250 |
#if defined(__cplusplus) |
|
251 |
# define SWIFT_NOEXCEPT noexcept |
e0ec42
|
252 |
#else |
L |
253 |
# define SWIFT_NOEXCEPT |
|
254 |
#endif |
97fc0a
|
255 |
#if !defined(SWIFT_C_INLINE_THUNK) |
L |
256 |
# if __has_attribute(always_inline) |
|
257 |
# if __has_attribute(nodebug) |
|
258 |
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) |
|
259 |
# else |
|
260 |
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) |
|
261 |
# endif |
|
262 |
# else |
|
263 |
# define SWIFT_C_INLINE_THUNK inline |
|
264 |
# endif |
e0ec42
|
265 |
#endif |
97fc0a
|
266 |
#if defined(_WIN32) |
L |
267 |
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) |
|
268 |
# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) |
|
269 |
#endif |
|
270 |
#else |
|
271 |
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) |
|
272 |
# define SWIFT_IMPORT_STDLIB_SYMBOL |
e0ec42
|
273 |
#endif |
L |
274 |
#endif |
|
275 |
#if defined(__OBJC__) |
97fc0a
|
276 |
#if __has_feature(objc_modules) |
e0ec42
|
277 |
#if __has_warning("-Watimport-in-framework-header") |
L |
278 |
#pragma clang diagnostic ignored "-Watimport-in-framework-header" |
|
279 |
#endif |
|
280 |
@import AuthenticationServices; |
|
281 |
@import CoreFoundation; |
|
282 |
@import CoreGraphics; |
|
283 |
@import FBAEMKit; |
97fc0a
|
284 |
@import FBSDKCoreKit_Basics; |
e0ec42
|
285 |
@import Foundation; |
L |
286 |
@import ObjectiveC; |
|
287 |
@import SafariServices; |
|
288 |
@import StoreKit; |
|
289 |
@import UIKit; |
|
290 |
#endif |
|
291 |
|
|
292 |
#import <FBSDKCoreKit/FBSDKCoreKit.h> |
|
293 |
|
|
294 |
#endif |
|
295 |
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" |
|
296 |
#pragma clang diagnostic ignored "-Wduplicate-method-arg" |
|
297 |
#if __has_warning("-Wpragma-clang-attribute") |
|
298 |
# pragma clang diagnostic ignored "-Wpragma-clang-attribute" |
|
299 |
#endif |
|
300 |
#pragma clang diagnostic ignored "-Wunknown-pragmas" |
|
301 |
#pragma clang diagnostic ignored "-Wnullability" |
|
302 |
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" |
|
303 |
|
|
304 |
#if __has_attribute(external_source_symbol) |
|
305 |
# pragma push_macro("any") |
|
306 |
# undef any |
|
307 |
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKCoreKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) |
|
308 |
# pragma pop_macro("any") |
|
309 |
#endif |
|
310 |
|
|
311 |
#if defined(__OBJC__) |
|
312 |
@class NSString; |
|
313 |
@class NSNumber; |
|
314 |
@class NSURL; |
|
315 |
|
|
316 |
/// Internal Type exposed to facilitate transition to Swift. |
|
317 |
/// API Subject to change or removal without warning. Do not use. |
|
318 |
/// @warning INTERNAL - DO NOT USE |
|
319 |
SWIFT_PROTOCOL_NAMED("_AEMReporterProtocol") |
|
320 |
@protocol FBSDKAEMReporter |
|
321 |
+ (void)enable; |
|
322 |
+ (void)recordAndUpdateEvent:(NSString * _Nonnull)event currency:(NSString * _Nullable)currency value:(NSNumber * _Nullable)value parameters:(NSDictionary<NSString *, id> * _Nullable)parameters; |
|
323 |
+ (void)setConversionFilteringEnabled:(BOOL)isEnabled; |
|
324 |
+ (void)setCatalogMatchingEnabled:(BOOL)isEnabled; |
|
325 |
+ (void)setAdvertiserRuleMatchInServerEnabled:(BOOL)isEnabled; |
97fc0a
|
326 |
+ (void)handle:(NSURL * _Nullable)url; |
e0ec42
|
327 |
@end |
L |
328 |
|
|
329 |
|
|
330 |
@interface FBAEMReporter (SWIFT_EXTENSION(FBSDKCoreKit)) <FBSDKAEMReporter> |
|
331 |
@end |
|
332 |
|
|
333 |
|
|
334 |
|
|
335 |
@protocol FBSDKAppLinkTarget; |
|
336 |
|
|
337 |
/// Contains App Link metadata relevant for navigation on this device |
|
338 |
/// derived from the HTML at a given URL. |
|
339 |
SWIFT_CLASS_NAMED("AppLink") |
|
340 |
@interface FBSDKAppLink : NSObject <FBSDKAppLink> |
|
341 |
/// The URL from which this FBSDKAppLink was derived |
|
342 |
@property (nonatomic, readonly, copy) NSURL * _Nullable sourceURL; |
|
343 |
/// The ordered list of targets applicable to this platform that will be used |
|
344 |
/// for navigation. |
|
345 |
@property (nonatomic, readonly, copy) NSArray<id <FBSDKAppLinkTarget>> * _Nonnull targets; |
|
346 |
/// The fallback web URL to use if no targets are installed on this device. |
|
347 |
@property (nonatomic, readonly, copy) NSURL * _Nullable webURL; |
|
348 |
/// Internal property exposed to facilitate transition to Swift. |
|
349 |
/// API Subject to change or removal without warning. Do not use. |
|
350 |
/// <blockquote> |
|
351 |
/// Warning: INTERNAL - DO NOT USE |
|
352 |
/// |
|
353 |
/// </blockquote> |
|
354 |
@property (nonatomic, getter=isBackToReferrer) BOOL backToReferrer; |
|
355 |
/// Creates an AppLink with the given list of AppLinkTargets and target URL. |
|
356 |
/// Generally, this will only be used by implementers of the AppLinkResolving protocol, |
|
357 |
/// as these implementers will produce App Link metadata for a given URL. |
|
358 |
/// \param sourceURL The <em>URL</em> from which this App Link is derived. |
|
359 |
/// |
|
360 |
/// \param targets An ordered list of AppLinkTargets for this platform derived from App Link metadata. |
|
361 |
/// |
|
362 |
/// \param webURL The fallback web URL, if any, for the app link. |
|
363 |
/// |
|
364 |
- (nonnull instancetype)initWithSourceURL:(NSURL * _Nullable)sourceURL targets:(NSArray<id <FBSDKAppLinkTarget>> * _Nonnull)targets webURL:(NSURL * _Nullable)webURL; |
|
365 |
/// Creates an AppLink with the given list of AppLinkTargets and target URL. |
|
366 |
/// Generally, this will only be used by implementers of the AppLinkResolving protocol, |
|
367 |
/// as these implementers will produce App Link metadata for a given URL. |
|
368 |
/// \param sourceURL The <em>URL</em> from which this App Link is derived. |
|
369 |
/// |
|
370 |
/// \param targets An ordered list of AppLinkTargets for this platform derived from App Link metadata. |
|
371 |
/// |
|
372 |
/// \param webURL The fallback web URL, if any, for the app link. |
|
373 |
/// |
|
374 |
+ (id <FBSDKAppLink> _Nonnull)appLinkWithSourceURL:(NSURL * _Nullable)sourceURL targets:(NSArray<id <FBSDKAppLinkTarget>> * _Nonnull)targets webURL:(NSURL * _Nullable)webURL SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("\n Please use designated init to instantiate an AppLink. This method will be removed in future releases.\"\n "); |
|
375 |
/// Internal method exposed to facilitate transition to Swift. |
|
376 |
/// API Subject to change or removal without warning. Do not use. |
|
377 |
/// <blockquote> |
|
378 |
/// Warning: INTERNAL - DO NOT USE |
|
379 |
/// |
|
380 |
/// </blockquote> |
|
381 |
- (nonnull instancetype)initWithSourceURL:(NSURL * _Nullable)sourceURL targets:(NSArray<id <FBSDKAppLinkTarget>> * _Nonnull)targets webURL:(NSURL * _Nullable)webURL isBackToReferrer:(BOOL)isBackToReferrer OBJC_DESIGNATED_INITIALIZER; |
|
382 |
- (nonnull instancetype)init SWIFT_UNAVAILABLE; |
|
383 |
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); |
|
384 |
@end |
|
385 |
|
|
386 |
@protocol FBSDKAppLinkResolving; |
|
387 |
@protocol FBSDKSettings; |
|
388 |
@class NSError; |
|
389 |
|
|
390 |
/// Represents a pending request to navigate to an app link. Instead of simplying opening a URL, you can build custom requests with additional navigation and app data attached to them by creating an <code>AppLinkNavigation</code>. |
|
391 |
SWIFT_CLASS_NAMED("AppLinkNavigation") SWIFT_AVAILABILITY(ios_app_extension,unavailable,message="Not available in app extension") |
|
392 |
@interface FBSDKAppLinkNavigation : NSObject |
|
393 |
/// The default resolver to be used for App Link resolution. If the developer has not set one explicitly, |
|
394 |
/// a basic, built-in <code>WebViewAppLinkResolver</code> will be used. |
|
395 |
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) id <FBSDKAppLinkResolving> _Nonnull defaultResolver;) |
|
396 |
+ (id <FBSDKAppLinkResolving> _Nonnull)defaultResolver SWIFT_WARN_UNUSED_RESULT; |
|
397 |
+ (void)setDefaultResolver:(id <FBSDKAppLinkResolving> _Nonnull)newValue; |
|
398 |
/// The extras for the AppLinkNavigation. This will generally contain application-specific |
|
399 |
/// data that should be passed along with the request, such as advertiser or affiliate IDs or |
|
400 |
/// other such metadata relevant on this device. |
|
401 |
@property (nonatomic, readonly, copy) NSDictionary<NSString *, id> * _Nonnull extras; |
|
402 |
/// The al_applink_data for the AppLinkNavigation. This will generally contain data common to |
|
403 |
/// navigation attempts such as back-links, user agents, and other information that may be used |
|
404 |
/// in routing and handling an App Link request. |
|
405 |
@property (nonatomic, readonly, copy) NSDictionary<NSString *, id> * _Nonnull appLinkData; |
|
406 |
/// The AppLink to navigate to |
97fc0a
|
407 |
@property (nonatomic, readonly, strong) FBSDKAppLink * _Nullable appLink; |
e0ec42
|
408 |
/// Returns navigation type for current instance. It does not produce any side-effects as the <code>navigate</code> method. |
L |
409 |
@property (nonatomic, readonly) FBSDKAppLinkNavigationType navigationType; |
|
410 |
/// Creates an AppLinkNavigation with the given link, extras, and App Link data |
97fc0a
|
411 |
- (nonnull instancetype)initWithAppLink:(FBSDKAppLink * _Nullable)appLink extras:(NSDictionary<NSString *, id> * _Nonnull)extras appLinkData:(NSDictionary<NSString *, id> * _Nonnull)appLinkData OBJC_DESIGNATED_INITIALIZER; |
e0ec42
|
412 |
/// Creates an AppLinkNavigation with the given link, extras, App Link data and settings |
L |
413 |
- (nonnull instancetype)initWithAppLink:(FBSDKAppLink * _Nonnull)appLink extras:(NSDictionary<NSString *, id> * _Nonnull)extras appLinkData:(NSDictionary<NSString *, id> * _Nonnull)appLinkData settings:(id <FBSDKSettings> _Nonnull)settings SWIFT_DEPRECATED_MSG("\n Please use init(appLink:extras:appLinkData:) to instantiate an `AppLinkNavigation`.\n This method will be removed in the next major version.\"\n "); |
|
414 |
/// Creates an AppLinkNavigation with the given link, extras, and App Link data. The <code>settings</code> argument will be ignored in favor of internal dependency injection. |
97fc0a
|
415 |
+ (FBSDKAppLinkNavigation * _Nonnull)navigationWithAppLink:(FBSDKAppLink * _Nullable)appLink extras:(NSDictionary<NSString *, id> * _Nonnull)extras appLinkData:(NSDictionary<NSString *, id> * _Nonnull)appLinkData settings:(id <FBSDKSettings> _Nonnull)settings SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("\n Please use designated init to instantiate an AppLinkNavigation. This method will be removed in future releases.\"\n "); |
e0ec42
|
416 |
/// Creates an instance of <code>[String: [String: String]]</code> with the correct format for iOS callback URLs to be used as ‘appLinkData’ argument in the call to init(appLink:extras:appLinkData:). |
L |
417 |
+ (NSDictionary<NSString *, NSDictionary<NSString *, NSString *> *> * _Nonnull)callbackAppLinkDataForAppWithName:(NSString * _Nonnull)appName url:(NSString * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; |
|
418 |
/// Performs the navigation |
|
419 |
- (FBSDKAppLinkNavigationType)navigate:(NSError * _Nullable * _Nullable)errorPointer SWIFT_WARN_UNUSED_RESULT; |
|
420 |
/// Returns an AppLink for the given URL |
|
421 |
+ (void)resolveAppLink:(NSURL * _Nonnull)destination handler:(FBSDKAppLinkBlock _Nonnull)handler; |
|
422 |
/// Returns an AppLink for the given URL using the given App Link resolution strategy |
|
423 |
+ (void)resolveAppLink:(NSURL * _Nonnull)destination resolver:(id <FBSDKAppLinkResolving> _Nonnull)resolver handler:(FBSDKAppLinkBlock _Nonnull)handler; |
|
424 |
/// Navigates to an AppLink and returns whether it opened in-app or in-browser |
|
425 |
+ (FBSDKAppLinkNavigationType)navigateToAppLink:(FBSDKAppLink * _Nonnull)appLink error:(NSError * _Nullable * _Nullable)errorPointer SWIFT_WARN_UNUSED_RESULT; |
|
426 |
/// Returns an AppLinkNavigationType based on a FBSDKAppLink. |
|
427 |
/// It’s essentially a no-side-effect version of navigateToAppLink:error:, |
|
428 |
/// allowing apps to determine flow based on the link type (e.g. open an |
|
429 |
/// internal web view instead of going straight to the browser for regular links.) |
|
430 |
+ (FBSDKAppLinkNavigationType)navigationTypeForLink:(FBSDKAppLink * _Nonnull)appLink SWIFT_WARN_UNUSED_RESULT; |
|
431 |
/// Navigates to a URL (an asynchronous action) and returns a NavigationType |
|
432 |
+ (void)navigateToURL:(NSURL * _Nonnull)destination handler:(FBSDKAppLinkNavigationBlock _Nonnull)handler; |
|
433 |
/// Navigates to a URL (an asynchronous action) using the given App Link resolution |
|
434 |
/// strategy and returns a NavigationType |
|
435 |
+ (void)navigateToURL:(NSURL * _Nonnull)destination resolver:(id <FBSDKAppLinkResolving> _Nonnull)resolver handler:(FBSDKAppLinkNavigationBlock _Nonnull)handler; |
|
436 |
- (nonnull instancetype)init SWIFT_UNAVAILABLE; |
|
437 |
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); |
|
438 |
@end |
|
439 |
|
|
440 |
|
|
441 |
|
|
442 |
/// Provides an implementation of the AppLinkResolving protocol that uses the Facebook App Link |
|
443 |
/// Index API to resolve App Links given a URL. It also provides an additional helper method that can resolve |
|
444 |
/// multiple App Links in a single call. |
|
445 |
SWIFT_CLASS_NAMED("AppLinkResolver") |
|
446 |
@interface FBSDKAppLinkResolver : NSObject <FBSDKAppLinkResolving> |
|
447 |
- (void)appLinkFromURL:(NSURL * _Nonnull)url handler:(FBSDKAppLinkBlock _Nonnull)handler; |
|
448 |
/// Asynchronously resolves App Link data for a given array of URLs. |
|
449 |
/// @param urls The URLs to resolve into an App Link. |
|
450 |
/// @param handler The completion block that will return an App Link for the given URL. |
|
451 |
- (void)appLinksFrom:(NSArray<NSURL *> * _Nonnull)urls handler:(FBSDKAppLinksBlock _Nonnull)handler SWIFT_AVAILABILITY(ios_app_extension,unavailable,message="Not available in app extension"); |
|
452 |
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; |
|
453 |
@end |
|
454 |
|
|
455 |
|
|
456 |
|
|
457 |
/// Represents a target defined in App Link metadata, consisting of at least |
|
458 |
/// a URL, and optionally an App Store ID and name. |
|
459 |
SWIFT_CLASS_NAMED("AppLinkTarget") |
|
460 |
@interface FBSDKAppLinkTarget : NSObject <FBSDKAppLinkTarget> |
|
461 |
/// The URL prefix for this app link target |
|
462 |
@property (nonatomic, readonly, copy) NSURL * _Nullable URL; |
|
463 |
/// The app ID for the app store |
|
464 |
@property (nonatomic, readonly, copy) NSString * _Nullable appStoreId; |
|
465 |
/// The name of the app |
|
466 |
@property (nonatomic, readonly, copy) NSString * _Nonnull appName; |
|
467 |
/// Creates a AppLinkTarget with the given app site and target URL. |
|
468 |
- (nonnull instancetype)initWithURL:(NSURL * _Nullable)url appStoreId:(NSString * _Nullable)appStoreId appName:(NSString * _Nonnull)appName OBJC_DESIGNATED_INITIALIZER; |
|
469 |
/// Creates a AppLinkTarget with the given app site and target URL. |
|
470 |
+ (FBSDKAppLinkTarget * _Nonnull)appLinkTargetWithURL:(NSURL * _Nullable)url appStoreId:(NSString * _Nullable)appStoreId appName:(NSString * _Nonnull)appName SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("\n Please use designated init to instantiate an AppLinkTarget. This method will be removed in future releases.\"\n "); |
|
471 |
- (nonnull instancetype)init SWIFT_UNAVAILABLE; |
|
472 |
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); |
|
473 |
@end |
|
474 |
|
|
475 |
@class UIApplication; |
|
476 |
@class NSUserActivity; |
|
477 |
@protocol FBSDKApplicationObserving; |
|
478 |
|
|
479 |
/// An <code>ApplicationDelegate</code> is designed to post-process the results from Facebook Login |
|
480 |
/// or Facebook Dialogs (or any action that requires switching over to the native Facebook |
|
481 |
/// app or Safari). |
|
482 |
/// The methods in this class are designed to mirror those in <code>UIApplicationDelegate</code>, and you |
|
483 |
/// should call them in the respective methods in your application delegate implementation. |
|
484 |
SWIFT_CLASS_NAMED("ApplicationDelegate") |
|
485 |
@interface FBSDKApplicationDelegate : NSObject |
|
486 |
/// Gets the singleton instance. |
|
487 |
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FBSDKApplicationDelegate * _Nonnull sharedInstance;) |
|
488 |
+ (FBSDKApplicationDelegate * _Nonnull)sharedInstance SWIFT_WARN_UNUSED_RESULT; |
|
489 |
- (nonnull instancetype)init SWIFT_UNAVAILABLE; |
|
490 |
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); |
|
491 |
/// Initializes the SDK. |
|
492 |
/// If you are using the SDK within the context of the <code>UIApplication</code> lifecycle, do not use this method. |
|
493 |
/// Instead use <code>application(_:didFinishLaunchingWithOptions:)</code>. |
|
494 |
/// As part of SDK initialization, basic auto logging of app events will occur, this can be |
|
495 |
/// controlled via the ‘FacebookAutoLogAppEventsEnabled’ key in your project’s Info.plist file. |
|
496 |
- (void)initializeSDK; |
|
497 |
/// Call this method from the <code>UIApplicationDelegate.application(_:continue:restorationHandler:)</code> method |
|
498 |
/// of your application delegate. It should be invoked in order to properly process the web URL (universal link) |
|
499 |
/// once the end user is redirected to your app. |
|
500 |
/// \param application The application as passed to `UIApplicationDelegate.application(_:continue:restorationHandler:). |
|
501 |
/// |
|
502 |
/// \param userActivity The user activity as passed to <code>UIApplicationDelegate.application(_:continue:restorationHandler:)</code>. |
|
503 |
/// |
|
504 |
/// |
|
505 |
/// returns: |
|
506 |
/// <code>true</code> if the URL was intended for the Facebook SDK, <code>false</code> if not. |
|
507 |
- (BOOL)application:(UIApplication * _Nonnull)application continueUserActivity:(NSUserActivity * _Nonnull)userActivity; |
|
508 |
/// Call this method from the <code>UIApplicationDelegate.application(_:open:options:)</code> method |
|
509 |
/// of your application delegate. It should be invoked for the proper processing of responses during interaction |
|
510 |
/// with the native Facebook app or Safari as part of an SSO authorization flow or Facebook dialogs. |
|
511 |
/// \param application The application as passed to <code>UIApplicationDelegate.application(_:open:options:)</code>. |
|
512 |
/// |
|
513 |
/// \param url The URL as passed to <code>UIApplicationDelegate.application(_:open:options:)</code>. |
|
514 |
/// |
|
515 |
/// \param options The options dictionary as passed to <code>UIApplicationDelegate.application(_:open:options:)</code>. |
|
516 |
/// |
|
517 |
/// |
|
518 |
/// returns: |
|
519 |
/// <code>true</code> if the URL was intended for the Facebook SDK, <code>false</code> if not. |
|
520 |
- (BOOL)application:(UIApplication * _Nonnull)application openURL:(NSURL * _Nonnull)url options:(NSDictionary<UIApplicationOpenURLOptionsKey, id> * _Nonnull)options; |
|
521 |
/// Call this method from the <code>UIApplicationDelegate.application(_:openL:sourceApplication:annotation:)</code> method |
|
522 |
/// of your application delegate. It should be invoked for the proper processing of responses during interaction |
|
523 |
/// with the native Facebook app or Safari as part of an SSO authorization flow or Facebook dialogs. |
|
524 |
/// \param application The application as passed to <code>UIApplicationDelegate.application(_:open:sourceApplication:annotation:)</code>. |
|
525 |
/// |
|
526 |
/// \param url The URL as passed to <code>UIApplicationDelegate.application(_:open:sourceApplication:annotation:)</code>. |
|
527 |
/// |
|
528 |
/// \param sourceApplication The source application as passed to <code>UIApplicationDelegate.application(_:open:sourceApplication:annotation:)</code>. |
|
529 |
/// |
|
530 |
/// \param annotation The annotation as passed to <code>UIApplicationDelegate.application(_:open:sourceApplication:annotation:)</code>. |
|
531 |
/// |
|
532 |
/// |
|
533 |
/// returns: |
|
534 |
/// <code>true</code> if the URL was intended for the Facebook SDK, <code>false</code> if not. |
|
535 |
- (BOOL)application:(UIApplication * _Nonnull)application openURL:(NSURL * _Nonnull)url sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation; |
|
536 |
/// Call this method from the <code>UIApplicationDelegate.application(_:didFinishLaunchingWithOptions:)</code> method |
|
537 |
/// of your application delegate. It should be invoked for the proper use of the Facebook SDK. |
|
538 |
/// As part of SDK initialization, basic auto-logging of app events will occur; this can be |
|
539 |
/// controlled via the <code>FacebookAutoLogAppEventsEnabled</code> key in the project’s Info.plist file. |
|
540 |
/// \param application The application as passed to <code>UIApplicationDelegate.application(_:didFinishLaunchingWithOptions:)</code>. |
|
541 |
/// |
|
542 |
/// \param launchOptions The launch options as passed to <code>UIApplicationDelegate.application(_:didFinishLaunchingWithOptions:)</code>. |
|
543 |
/// |
|
544 |
/// |
|
545 |
/// returns: |
97fc0a
|
546 |
/// <code>true</code> |
e0ec42
|
547 |
- (BOOL)application:(UIApplication * _Nonnull)application didFinishLaunchingWithOptions:(NSDictionary<UIApplicationLaunchOptionsKey, id> * _Nullable)launchOptions; |
L |
548 |
/// Adds an observer that will be informed about application lifecycle events. |
|
549 |
/// note: |
|
550 |
/// Observers are weakly held |
|
551 |
- (void)addObserver:(id <FBSDKApplicationObserving> _Nonnull)observer; |
|
552 |
/// Removes an observer so that it will no longer be informed about application lifecycle events. |
|
553 |
- (void)removeObserver:(id <FBSDKApplicationObserving> _Nonnull)observer; |
|
554 |
@end |
|
555 |
|
|
556 |
|
|
557 |
SWIFT_CLASS_NAMED("AuthenticationTokenClaims") |
|
558 |
@interface FBSDKAuthenticationTokenClaims : NSObject |
|
559 |
/// Internal method exposed to facilitate transition to Swift. |
|
560 |
/// API Subject to change or removal without warning. Do not use. |
|
561 |
/// @warning INTERNAL - DO NOT USE |
|
562 |
- (nullable instancetype)initWithEncodedClaims:(NSString * _Nonnull)encodedClaims nonce:(NSString * _Nonnull)expectedNonce; |
|
563 |
- (nonnull instancetype)init SWIFT_UNAVAILABLE; |
|
564 |
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); |
|
565 |
@end |
|
566 |
|
|
567 |
|
|
568 |
@protocol FBSDKGraphRequestFactory; |
|
569 |
|
|
570 |
SWIFT_PROTOCOL_NAMED("CAPIReporter") |
|
571 |
@protocol FBSDKCAPIReporter |
|
572 |
- (void)enable; |
|
573 |
- (void)configureWithFactory:(id <FBSDKGraphRequestFactory> _Nonnull)factory settings:(id <FBSDKSettings> _Nonnull)settings; |
|
574 |
- (void)recordEvent:(NSDictionary<NSString *, id> * _Nonnull)parameters; |
|
575 |
@end |
|
576 |
|
|
577 |
@protocol FBSDKInternalURLOpener; |
|
578 |
|
|
579 |
/// Internal type exposed to facilitate transition to Swift. |
|
580 |
/// API Subject to change or removal without warning. Do not use. |
|
581 |
/// @warning INTERNAL - DO NOT USE |
|
582 |
SWIFT_CLASS("_TtC12FBSDKCoreKit17CoreUIApplication") |
|
583 |
@interface CoreUIApplication : NSObject |
|
584 |
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) id <FBSDKInternalURLOpener> _Nonnull shared;) |
|
585 |
+ (id <FBSDKInternalURLOpener> _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; |
|
586 |
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; |
|
587 |
@end |
|
588 |
|
|
589 |
@class UIImage; |
|
590 |
@class UIColor; |
|
591 |
|
|
592 |
/// Internal Type exposed to facilitate transition to Swift. |
|
593 |
/// API Subject to change or removal without warning. Do not use. |
|
594 |
/// @warning INTERNAL - DO NOT USE |
|
595 |
SWIFT_CLASS_NAMED("FBIcon") |
|
596 |
@interface FBSDKIcon : NSObject |
|
597 |
- (CGPathRef _Nullable)pathWith:(CGSize)size SWIFT_WARN_UNUSED_RESULT; |
|
598 |
- (UIImage * _Nullable)imageWithSize:(CGSize)size SWIFT_WARN_UNUSED_RESULT; |
|
599 |
- (UIImage * _Nullable)imageWithSize:(CGSize)size color:(UIColor * _Nonnull)color SWIFT_WARN_UNUSED_RESULT; |
|
600 |
- (UIImage * _Nullable)imageWithSize:(CGSize)size scale:(CGFloat)scale color:(UIColor * _Nonnull)color SWIFT_WARN_UNUSED_RESULT; |
|
601 |
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; |
|
602 |
@end |
|
603 |
|
|
604 |
enum FBSDKProfilePictureMode : NSUInteger; |
|
605 |
@class FBSDKProfile; |
|
606 |
@class NSCoder; |
|
607 |
|
|
608 |
/// A view to display a profile picture. |
|
609 |
SWIFT_CLASS_NAMED("FBProfilePictureView") |
|
610 |
@interface FBSDKProfilePictureView : UIView |
|
611 |
/// The mode for the receiver to determine the aspect ratio of the source image. |
|
612 |
@property (nonatomic) enum FBSDKProfilePictureMode pictureMode; |
|
613 |
/// The profile ID to show the picture for. |
|
614 |
@property (nonatomic, copy) NSString * _Nonnull profileID; |
|
615 |
@property (nonatomic) CGRect bounds; |
|
616 |
@property (nonatomic) UIViewContentMode contentMode; |
|
617 |
/// Create a new instance. |
|
618 |
/// \param frame Frame rectangle for the view. |
|
619 |
/// |
|
620 |
/// \param profile Optional profile to display a picture for. |
|
621 |
/// |
|
622 |
- (nonnull instancetype)initWith:(CGRect)frame profile:(FBSDKProfile * _Nullable)profile OBJC_DESIGNATED_INITIALIZER; |
|
623 |
/// Create a new instance. |
|
624 |
/// \param profile Optional profile to display a picture for. |
|
625 |
/// |
|
626 |
- (nonnull instancetype)initWithProfile:(FBSDKProfile * _Nullable)profile; |
|
627 |
/// Initializes and returns a newly allocated view object with the specified frame rectangle. |
|
628 |
/// \param frame The frame rectangle for the view, measured in points. The origin of the frame is relative to the superview in which you plan to add it. |
|
629 |
/// This method uses the frame rectangle to set the center and bounds properties accordingly. |
|
630 |
/// |
|
631 |
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; |
|
632 |
/// Initializes and returns a newly allocated view object from the specified coder. |
|
633 |
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; |
|
634 |
/// Explicitly marks the receiver as needing to update the image. |
|
635 |
/// This method is called whenever any properties that affect the source image are modified, but this can also |
|
636 |
/// be used to trigger a manual update of the image if it needs to be re-downloaded. |
|
637 |
- (void)setNeedsImageUpdate; |
|
638 |
@end |
|
639 |
|
|
640 |
|
|
641 |
SWIFT_CLASS("_TtC12FBSDKCoreKit25FBSDKAppEventsCAPIManager") |
|
642 |
@interface FBSDKAppEventsCAPIManager : NSObject <FBSDKCAPIReporter> |
|
643 |
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FBSDKAppEventsCAPIManager * _Nonnull shared;) |
|
644 |
+ (FBSDKAppEventsCAPIManager * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; |
|
645 |
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; |
|
646 |
- (void)configureWithFactory:(id <FBSDKGraphRequestFactory> _Nonnull)factory settings:(id <FBSDKSettings> _Nonnull)settings; |
|
647 |
- (void)enable; |
|
648 |
- (void)recordEvent:(NSDictionary<NSString *, id> * _Nonnull)parameters; |
|
649 |
@end |
|
650 |
|
|
651 |
|
|
652 |
SWIFT_CLASS("_TtC12FBSDKCoreKit35FBSDKTransformerGraphRequestFactory") |
|
653 |
@interface FBSDKTransformerGraphRequestFactory : NSObject |
|
654 |
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FBSDKTransformerGraphRequestFactory * _Nonnull shared;) |
|
655 |
+ (FBSDKTransformerGraphRequestFactory * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; |
|
656 |
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; |
|
657 |
- (void)configureWithDatasetID:(NSString * _Nonnull)datasetID url:(NSString * _Nonnull)url accessKey:(NSString * _Nonnull)accessKey; |
|
658 |
- (void)callCapiGatewayAPIWith:(NSDictionary<NSString *, id> * _Nonnull)parameters userAgent:(NSString * _Nonnull)userAgent; |
|
659 |
@end |
|
660 |
|
97fc0a
|
661 |
|
L |
662 |
SWIFT_PROTOCOL_NAMED("MACARuleMatching") |
|
663 |
@protocol FBSDKMACARuleMatching |
|
664 |
- (void)enable; |
|
665 |
- (NSDictionary * _Nullable)processParameters:(NSDictionary * _Nullable)params event:(NSString * _Nullable)event SWIFT_WARN_UNUSED_RESULT; |
|
666 |
@end |
|
667 |
|
e0ec42
|
668 |
@class NSDate; |
L |
669 |
@class FBSDKUserAgeRange; |
|
670 |
@class FBSDKLocation; |
|
671 |
|
|
672 |
/// Represents an immutable Facebook profile. |
|
673 |
/// This class provides a global current profile instance to more easily |
|
674 |
/// add social context to your application. When the profile changes, a notification is |
|
675 |
/// posted so that you can update relevant parts of your UI. It is persisted to <code>UserDefaults.standard</code>. |
|
676 |
/// Typically, you will want to set <code>enableUpdatesOnAccessTokenChange</code> to <code>true</code> so that |
|
677 |
/// it automatically observes changes to <code>AccessToken.current</code>. |
|
678 |
/// You can use this class to build your own <code>ProfilePictureView</code> or in place of typical requests to the <code>/me</code> endpoint. |
|
679 |
SWIFT_CLASS_NAMED("Profile") |
|
680 |
@interface FBSDKProfile : NSObject |
|
681 |
/// The user identifier. |
|
682 |
@property (nonatomic, readonly, copy) FBSDKUserIdentifier _Nonnull userID; |
|
683 |
/// The user’s first name. |
|
684 |
@property (nonatomic, readonly, copy) NSString * _Nullable firstName; |
|
685 |
/// The user’s middle name. |
|
686 |
@property (nonatomic, readonly, copy) NSString * _Nullable middleName; |
|
687 |
/// The user’s last name. |
|
688 |
@property (nonatomic, readonly, copy) NSString * _Nullable lastName; |
|
689 |
/// The user’s complete name. |
|
690 |
@property (nonatomic, readonly, copy) NSString * _Nullable name; |
|
691 |
/// A URL to the user’s profile. |
|
692 |
/// important: |
|
693 |
/// This field will only be populated if your user has granted your application the <code>user_link</code> permission. |
|
694 |
/// Consider using <code>AppLinkResolver</code> to resolve this URL to an app link in order to link directly to |
|
695 |
/// the user’s profile in the Facebook app. |
|
696 |
@property (nonatomic, readonly, copy) NSURL * _Nullable linkURL; |
|
697 |
/// The last time the profile data was fetched. |
|
698 |
@property (nonatomic, readonly, copy) NSDate * _Nonnull refreshDate; |
|
699 |
/// A URL to use for fetching the user’s profile image. |
|
700 |
@property (nonatomic, readonly, copy) NSURL * _Nullable imageURL; |
|
701 |
/// The user’s email address. |
|
702 |
/// important: |
|
703 |
/// This field will only be populated if your user has granted your application the <code>email</code> permission. |
|
704 |
@property (nonatomic, readonly, copy) NSString * _Nullable email; |
|
705 |
/// A list of identifiers of the user’s friends. |
|
706 |
/// important: |
|
707 |
/// This field will only be populated if your user has granted your application |
|
708 |
/// the <code>user_friends</code> permission. |
|
709 |
@property (nonatomic, readonly, copy) NSArray<NSString *> * _Nullable friendIDs; |
|
710 |
/// The user’s birthday. |
|
711 |
/// important: |
|
712 |
/// This field will only be populated if your user has granted your application |
|
713 |
/// the <code>user_birthday</code> permission. |
|
714 |
@property (nonatomic, readonly, copy) NSDate * _Nullable birthday; |
|
715 |
/// The user’s age range. |
|
716 |
/// important: |
|
717 |
/// This field will only be populated if your user has granted your application |
|
718 |
/// the <code>user_age_range</code> permission. |
|
719 |
@property (nonatomic, readonly, strong) FBSDKUserAgeRange * _Nullable ageRange; |
|
720 |
/// The user’s hometown. |
|
721 |
/// important: |
|
722 |
/// This field will only be populated if your user has granted your application |
|
723 |
/// the <code>user_hometown</code> permission. |
|
724 |
@property (nonatomic, readonly, strong) FBSDKLocation * _Nullable hometown; |
|
725 |
/// The user’s location. |
|
726 |
/// important: |
|
727 |
/// This field will only be populated if your user has granted your application |
|
728 |
/// the <code>user_location</code> permission. |
|
729 |
@property (nonatomic, readonly, strong) FBSDKLocation * _Nullable location; |
|
730 |
/// The user’s gender. |
|
731 |
/// important: |
|
732 |
/// This field will only be populated if your user has granted your application |
|
733 |
/// the <code>user_gender</code> permission. |
|
734 |
@property (nonatomic, readonly, copy) NSString * _Nullable gender; |
97fc0a
|
735 |
/// The user’s granted permissions. |
L |
736 |
/// important: |
|
737 |
/// This field will only be populated if your user has granted permissions to your |
|
738 |
/// application. |
|
739 |
@property (nonatomic, readonly, copy) NSSet<NSString *> * _Nullable permissions; |
e0ec42
|
740 |
/// Indicates whether this type will automatically observe access token changes |
L |
741 |
/// (via <code>AccessTokenDidChange</code> notifications). |
|
742 |
/// If observing changes, this class will issue a Graph request for public profile data when the current token’s user |
|
743 |
/// identifier differs from the current profile. You can observe profile changes via <code>ProfileDidChange</code> notifications |
|
744 |
/// to handle an updated profile. |
|
745 |
/// note: |
|
746 |
/// If the current access token is cleared, the current profile instance remains available. It’s also possible |
|
747 |
/// for <code>current</code> to return <code>nil</code> until the data is fetched. |
|
748 |
SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL isUpdatedWithAccessTokenChange;) |
|
749 |
+ (BOOL)isUpdatedWithAccessTokenChange SWIFT_WARN_UNUSED_RESULT; |
|
750 |
+ (void)setIsUpdatedWithAccessTokenChange:(BOOL)value; |
|
751 |
/// Creates a new profile. |
|
752 |
/// \param userID The user’s identifier. |
|
753 |
/// |
|
754 |
/// \param firstName The user’s first name. Defaults to <code>nil</code>. |
|
755 |
/// |
|
756 |
/// \param middleName The user’s middle name. Defaults to <code>nil</code>. |
|
757 |
/// |
|
758 |
/// \param lastName The user’s last name. Defaults to <code>nil</code>. |
|
759 |
/// |
|
760 |
/// \param name The user’s complete name. Defaults to <code>nil</code>. |
|
761 |
/// |
|
762 |
/// \param linkURL The link for the profile. Defaults to <code>nil</code>. |
|
763 |
/// |
|
764 |
/// \param refreshDate The date the profile was fetched. Defaults to the time of instantiation. |
|
765 |
/// |
97fc0a
|
766 |
/// \param permissions The user’s granted permissions. Defaults to <code>nil</code>. |
L |
767 |
/// |
|
768 |
- (nonnull instancetype)initWithUserID:(FBSDKUserIdentifier _Nonnull)userID firstName:(NSString * _Nullable)firstName middleName:(NSString * _Nullable)middleName lastName:(NSString * _Nullable)lastName name:(NSString * _Nullable)name linkURL:(NSURL * _Nullable)linkURL refreshDate:(NSDate * _Nullable)refreshDate permissions:(NSSet<NSString *> * _Nullable)permissions; |
e0ec42
|
769 |
/// Creates a new profile. |
L |
770 |
/// \param userID The user’s identifier. Defaults to <code>nil</code>. |
|
771 |
/// |
|
772 |
/// \param firstName The user’s first name. Defaults to <code>nil</code>. |
|
773 |
/// |
|
774 |
/// \param middleName The user’s middle name. Defaults to <code>nil</code>. |
|
775 |
/// |
|
776 |
/// \param lastName The user’s last name. Defaults to <code>nil</code>. |
|
777 |
/// |
|
778 |
/// \param name The user’s complete name. Defaults to <code>nil</code>. |
|
779 |
/// |
|
780 |
/// \param linkURL The link for this profile. Defaults to <code>nil</code>. |
|
781 |
/// |
|
782 |
/// \param refreshDate The date this profile was fetched. Defaults to the time of instantiation. |
|
783 |
/// |
|
784 |
/// \param imageURL A URL to use for fetching a user’s profile image. |
|
785 |
/// |
|
786 |
/// \param email The user’s email address. Defaults to <code>nil</code>. |
|
787 |
/// |
|
788 |
/// \param friendIDs A list of identifiers for the user’s friends. Defaults to <code>nil</code>. |
|
789 |
/// |
|
790 |
/// \param birthday The user’s birthday. Defaults to <code>nil</code>. |
|
791 |
/// |
|
792 |
/// \param ageRange The user’s age range. Defaults to <code>nil</code>. |
|
793 |
/// |
|
794 |
/// \param hometown The user’s hometown. Defaults to <code>nil</code>. |
|
795 |
/// |
|
796 |
/// \param location The user’s location. Defaults to <code>nil</code>. |
|
797 |
/// |
|
798 |
/// \param gender The user’s gender. Defaults to <code>nil</code>. |
|
799 |
/// |
97fc0a
|
800 |
/// \param permissions The user’s granted permissions. Defaults to <code>nil</code>. |
L |
801 |
/// |
|
802 |
- (nonnull instancetype)initWithUserID:(FBSDKUserIdentifier _Nonnull)userID firstName:(NSString * _Nullable)firstName middleName:(NSString * _Nullable)middleName lastName:(NSString * _Nullable)lastName name:(NSString * _Nullable)name linkURL:(NSURL * _Nullable)linkURL refreshDate:(NSDate * _Nullable)refreshDate imageURL:(NSURL * _Nullable)imageURL email:(NSString * _Nullable)email friendIDs:(NSArray<NSString *> * _Nullable)friendIDs birthday:(NSDate * _Nullable)birthday ageRange:(FBSDKUserAgeRange * _Nullable)ageRange hometown:(FBSDKLocation * _Nullable)hometown location:(FBSDKLocation * _Nullable)location gender:(NSString * _Nullable)gender permissions:(NSSet<NSString *> * _Nullable)permissions; |
e0ec42
|
803 |
/// Creates a new profile. |
97fc0a
|
804 |
/// <ul> |
L |
805 |
/// <li> |
|
806 |
/// permissions: The user’s granted permissions. Defaults to <code>nil</code>. |
|
807 |
/// </li> |
|
808 |
/// </ul> |
e0ec42
|
809 |
/// \param userID The user’s identifier. Defaults to <code>nil</code>. |
L |
810 |
/// |
|
811 |
/// \param firstName The user’s first name. Defaults to <code>nil</code>. |
|
812 |
/// |
|
813 |
/// \param middleName The user’s middle name. Defaults to <code>nil</code>. |
|
814 |
/// |
|
815 |
/// \param lastName The user’s last name. Defaults to <code>nil</code>. |
|
816 |
/// |
|
817 |
/// \param name The user’s complete name. Defaults to <code>nil</code>. |
|
818 |
/// |
|
819 |
/// \param linkURL The link for the profile. Defaults to <code>nil</code>. |
|
820 |
/// |
|
821 |
/// \param refreshDate The date the profile was fetched. Defaults to the time of instantiation. |
|
822 |
/// |
|
823 |
/// \param imageURL A URL to use for fetching the user’s profile image Defaults to <code>nil</code>. |
|
824 |
/// |
|
825 |
/// \param email The user’s email address. Defaults to <code>nil</code>. |
|
826 |
/// |
|
827 |
/// \param friendIDs A list of identifiers for the user’s friends. Defaults to <code>nil</code>. |
|
828 |
/// |
|
829 |
/// \param birthday The user’s birthday. Defaults to <code>nil</code>. |
|
830 |
/// |
|
831 |
/// \param ageRange The user’s age range. Defaults to <code>nil</code>. |
|
832 |
/// |
|
833 |
/// \param hometown The user’s hometown. Defaults to <code>nil</code>. |
|
834 |
/// |
|
835 |
/// \param location The user’s location. Defaults to <code>nil</code>. |
|
836 |
/// |
|
837 |
/// \param gender The user’s gender. Defaults to <code>nil</code>. |
|
838 |
/// |
|
839 |
/// \param isLimited Indicates whether the information provided is incomplete in some way. |
|
840 |
/// When <code>true</code>, <code>loadCurrentProfile(completion:):</code> will assume the profile is incomplete and disregard |
|
841 |
/// any cached profile. Defaults to <code>false</code>. |
|
842 |
/// |
97fc0a
|
843 |
- (nonnull instancetype)initWithUserID:(FBSDKUserIdentifier _Nonnull)userID firstName:(NSString * _Nullable)firstName middleName:(NSString * _Nullable)middleName lastName:(NSString * _Nullable)lastName name:(NSString * _Nullable)name linkURL:(NSURL * _Nullable)linkURL refreshDate:(NSDate * _Nullable)refreshDate imageURL:(NSURL * _Nullable)imageURL email:(NSString * _Nullable)email friendIDs:(NSArray<NSString *> * _Nullable)friendIDs birthday:(NSDate * _Nullable)birthday ageRange:(FBSDKUserAgeRange * _Nullable)ageRange hometown:(FBSDKLocation * _Nullable)hometown location:(FBSDKLocation * _Nullable)location gender:(NSString * _Nullable)gender isLimited:(BOOL)isLimited permissions:(NSSet<NSString *> * _Nullable)permissions OBJC_DESIGNATED_INITIALIZER; |
e0ec42
|
844 |
/// Indicates whether this type will automatically observe access token changes |
L |
845 |
/// (via <code>AccessTokenDidChange</code> notifications). |
|
846 |
/// If observing changes, this class will issue a Graph request for public profile data when the current token’s user |
|
847 |
/// identifier differs from the current profile. You can observe profile changes via <code>ProfileDidChange</code> notifications |
|
848 |
/// to handle an updated profile. |
|
849 |
/// note: |
|
850 |
/// If the current access token is cleared, the current profile instance remains available. It’s also possible |
|
851 |
/// for <code>current</code> to return <code>nil</code> until the data is fetched. |
|
852 |
+ (void)enableUpdatesOnAccessTokenChange:(BOOL)enabled SWIFT_DEPRECATED_MSG("This method is deprecated and will be removed in the next major release. Use `isUpdatedWithAccessTokenChange` instead."); |
|
853 |
- (nonnull instancetype)init SWIFT_UNAVAILABLE; |
|
854 |
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); |
|
855 |
@end |
|
856 |
|
|
857 |
|
|
858 |
@interface FBSDKProfile (SWIFT_EXTENSION(FBSDKCoreKit)) |
|
859 |
/// A convenience method for returning a complete <code>URL</code> for retrieving the user’s profile image. |
|
860 |
/// \param pictureMode The picture mode. |
|
861 |
/// |
|
862 |
/// \param size The height and width. This will be rounded to integer precision. |
|
863 |
/// |
|
864 |
- (NSURL * _Nullable)imageURLForPictureMode:(enum FBSDKProfilePictureMode)pictureMode size:(CGSize)size SWIFT_WARN_UNUSED_RESULT; |
|
865 |
@end |
|
866 |
|
|
867 |
/// Defines the aspect ratio mode for the source image of the profile picture. |
|
868 |
typedef SWIFT_ENUM_NAMED(NSUInteger, FBSDKProfilePictureMode, "PictureMode", open) { |
|
869 |
/// A square cropped version of the image will be included in the view. |
|
870 |
FBSDKProfilePictureModeSquare = 0, |
|
871 |
/// The original picture’s aspect ratio will be used for the source image in the view. |
|
872 |
FBSDKProfilePictureModeNormal = 1, |
|
873 |
/// The original picture’s aspect ratio will be used for the source image in the view. |
|
874 |
FBSDKProfilePictureModeAlbum = 2, |
|
875 |
/// The original picture’s aspect ratio will be used for the source image in the view. |
|
876 |
FBSDKProfilePictureModeSmall = 3, |
|
877 |
/// The original picture’s aspect ratio will be used for the source image in the view. |
|
878 |
FBSDKProfilePictureModeLarge = 4, |
|
879 |
}; |
|
880 |
|
|
881 |
|
|
882 |
|
|
883 |
/// Internal type exposed to facilitate transition to Swift. |
|
884 |
/// API Subject to change or removal without warning. Do not use. |
|
885 |
/// @warning INTERNAL - DO NOT USE |
|
886 |
SWIFT_PROTOCOL_NAMED("ProfileProviding") |
|
887 |
@protocol FBSDKProfileProviding |
|
888 |
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) FBSDKProfile * _Nullable currentProfile;) |
|
889 |
+ (FBSDKProfile * _Nullable)currentProfile SWIFT_WARN_UNUSED_RESULT; |
|
890 |
+ (void)setCurrentProfile:(FBSDKProfile * _Nullable)newValue; |
|
891 |
+ (FBSDKProfile * _Nullable)fetchCachedProfile SWIFT_WARN_UNUSED_RESULT; |
|
892 |
@end |
|
893 |
|
|
894 |
|
|
895 |
@interface FBSDKProfile (SWIFT_EXTENSION(FBSDKCoreKit)) <FBSDKProfileProviding> |
|
896 |
/// The current profile. |
|
897 |
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) FBSDKProfile * _Nullable currentProfile;) |
|
898 |
+ (FBSDKProfile * _Nullable)currentProfile SWIFT_WARN_UNUSED_RESULT; |
|
899 |
+ (void)setCurrentProfile:(FBSDKProfile * _Nullable)newValue; |
|
900 |
+ (nullable instancetype)fetchCachedProfile SWIFT_WARN_UNUSED_RESULT; |
|
901 |
@end |
|
902 |
|
|
903 |
|
|
904 |
@interface FBSDKProfile (SWIFT_EXTENSION(FBSDKCoreKit)) <NSSecureCoding> |
|
905 |
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) BOOL supportsSecureCoding;) |
|
906 |
+ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT; |
|
907 |
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)decoder; |
|
908 |
- (void)encodeWithCoder:(NSCoder * _Nonnull)encoder; |
|
909 |
@end |
|
910 |
|
|
911 |
|
|
912 |
@interface FBSDKProfile (SWIFT_EXTENSION(FBSDKCoreKit)) |
|
913 |
/// Loads the current profile and passes it to the completion block. |
|
914 |
/// note: |
|
915 |
/// If the profile is already loaded, this method will call the completion block synchronously, otherwise it |
|
916 |
/// will begin a graph request to update <code>current</code> and then call the completion block when finished. |
|
917 |
/// <ul> |
|
918 |
/// <li> |
|
919 |
/// Parameter: completion The block to be executed once the profile is loaded. |
|
920 |
/// </li> |
|
921 |
/// </ul> |
|
922 |
+ (void)loadCurrentProfileWithCompletion:(FBSDKProfileBlock _Nullable)completion; |
|
923 |
@end |
|
924 |
|
|
925 |
|
|
926 |
|
97fc0a
|
927 |
SWIFT_CLASS_NAMED("ProtectedModeManager") |
L |
928 |
@interface FBSDKProtectedModeManager : NSObject <FBSDKAppEventsParameterProcessing> |
|
929 |
- (void)enable; |
|
930 |
- (NSDictionary<FBSDKAppEventParameterName, id> * _Nullable)processParameters:(NSDictionary<FBSDKAppEventParameterName, id> * _Nullable)parameters eventName:(FBSDKAppEventName _Nullable)eventName SWIFT_WARN_UNUSED_RESULT; |
|
931 |
+ (BOOL)isProtectedModeAppliedWithParameters:(NSDictionary<FBSDKAppEventParameterName, id> * _Nullable)parameters SWIFT_WARN_UNUSED_RESULT; |
|
932 |
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; |
|
933 |
@end |
|
934 |
|
|
935 |
|
|
936 |
|
e0ec42
|
937 |
/// Internal Type exposed to facilitate transition to Swift. |
L |
938 |
/// API Subject to change or removal without warning. Do not use. |
|
939 |
/// @warning INTERNAL - DO NOT USE |
|
940 |
SWIFT_CLASS("_TtC12FBSDKCoreKit27ServerConfigurationProvider") |
|
941 |
@interface ServerConfigurationProvider : NSObject |
|
942 |
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; |
|
943 |
@end |
|
944 |
|
|
945 |
|
|
946 |
/// Internal type exposed to facilitate transition to Swift. |
|
947 |
/// API Subject to change or removal without warning. Do not use. |
|
948 |
/// @warning INTERNAL - DO NOT USE |
|
949 |
SWIFT_PROTOCOL_NAMED("SettingsProtocol") |
|
950 |
@protocol FBSDKSettings |
|
951 |
@property (nonatomic, copy) NSString * _Nullable appID; |
|
952 |
@property (nonatomic, copy) NSString * _Nullable clientToken; |
|
953 |
@property (nonatomic, copy) NSString * _Nullable userAgentSuffix; |
|
954 |
@property (nonatomic, readonly, copy) NSString * _Nonnull sdkVersion; |
|
955 |
@property (nonatomic, copy) NSString * _Nullable displayName; |
|
956 |
@property (nonatomic, copy) NSString * _Nullable facebookDomainPart; |
|
957 |
@property (nonatomic, copy) NSSet<FBSDKLoggingBehavior> * _Nonnull loggingBehaviors; |
|
958 |
@property (nonatomic, copy) NSString * _Nullable appURLSchemeSuffix; |
|
959 |
@property (nonatomic, readonly) BOOL isDataProcessingRestricted; |
|
960 |
@property (nonatomic, readonly) BOOL isAutoLogAppEventsEnabled; |
|
961 |
@property (nonatomic) BOOL codelessDebugLogEnabled SWIFT_DEPRECATED_MSG("\n This property is deprecated and will be removed in the next major release. Use `isCodelessDebugLogEnabled` instead.\n "); |
|
962 |
@property (nonatomic) BOOL isCodelessDebugLogEnabled; |
|
963 |
@property (nonatomic) BOOL advertiserIDCollectionEnabled SWIFT_DEPRECATED_MSG("\n This property is deprecated and will be removed in the next major release. Use `isAdvertiserIDCollectionEnabled` instead.\n "); |
|
964 |
@property (nonatomic) BOOL isAdvertiserIDCollectionEnabled; |
|
965 |
@property (nonatomic, readonly) BOOL isSetATETimeExceedsInstallTime SWIFT_DEPRECATED_MSG("\n This property is deprecated and will be removed in the next major release. Use `isATETimeSufficientlyDelayed` instead.\n "); |
|
966 |
@property (nonatomic, readonly) BOOL isATETimeSufficientlyDelayed; |
|
967 |
@property (nonatomic, readonly) BOOL isSKAdNetworkReportEnabled; |
|
968 |
@property (nonatomic, readonly) FBSDKAdvertisingTrackingStatus advertisingTrackingStatus; |
|
969 |
@property (nonatomic, readonly, copy) NSDate * _Nullable installTimestamp; |
|
970 |
@property (nonatomic, readonly, copy) NSDate * _Nullable advertiserTrackingEnabledTimestamp; |
|
971 |
@property (nonatomic) BOOL isEventDataUsageLimited; |
|
972 |
@property (nonatomic) BOOL shouldUseTokenOptimizations; |
|
973 |
@property (nonatomic, copy) NSString * _Nonnull graphAPIVersion; |
|
974 |
@property (nonatomic) BOOL isGraphErrorRecoveryEnabled; |
|
975 |
@property (nonatomic, readonly, copy) NSString * _Nullable graphAPIDebugParamValue SWIFT_DEPRECATED_MSG("\n This property is deprecated and will be removed in the next major release. Use `graphAPIDebugParameterValue` instead.\n "); |
|
976 |
@property (nonatomic, readonly, copy) NSString * _Nullable graphAPIDebugParameterValue; |
|
977 |
@property (nonatomic) BOOL advertiserTrackingEnabled SWIFT_DEPRECATED_MSG("\n This property is deprecated and will be removed in the next major release. Use `isAdvertiserTrackingEnabled` instead.\n "); |
|
978 |
@property (nonatomic) BOOL isAdvertiserTrackingEnabled; |
|
979 |
@property (nonatomic) BOOL shouldUseCachedValuesForExpensiveMetadata; |
|
980 |
@property (nonatomic, readonly, copy) NSDictionary<NSString *, id> * _Nullable persistableDataProcessingOptions; |
97fc0a
|
981 |
@property (nonatomic) BOOL isDomainErrorEnabled; |
e0ec42
|
982 |
/// Sets the data processing options. |
L |
983 |
/// \param options The list of options. |
|
984 |
/// |
|
985 |
- (void)setDataProcessingOptions:(NSArray<NSString *> * _Nullable)options; |
|
986 |
/// Sets the data processing options. |
|
987 |
/// \param options The list of the options. |
|
988 |
/// |
|
989 |
/// \param country The code for the country. |
|
990 |
/// |
|
991 |
/// \param state The code for the state. |
|
992 |
/// |
|
993 |
- (void)setDataProcessingOptions:(NSArray<NSString *> * _Nullable)options country:(int32_t)country state:(int32_t)state; |
|
994 |
@end |
|
995 |
|
|
996 |
|
|
997 |
SWIFT_CLASS_NAMED("Settings") |
|
998 |
@interface FBSDKSettings : NSObject <FBSDKSettingsLogging, FBSDKSettings, FBSDKClientTokenProviding> |
|
999 |
/// The shared settings instance. Prefer this and the exposed instance methods over the type properties and methods. |
|
1000 |
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FBSDKSettings * _Nonnull sharedSettings;) |
|
1001 |
+ (FBSDKSettings * _Nonnull)sharedSettings SWIFT_WARN_UNUSED_RESULT; |
|
1002 |
/// The Facebook SDK version in use. |
|
1003 |
@property (nonatomic, readonly, copy) NSString * _Nonnull sdkVersion; |
|
1004 |
/// The default Graph API version. |
|
1005 |
@property (nonatomic, readonly, copy) NSString * _Nonnull defaultGraphAPIVersion; |
|
1006 |
/// The quality of JPEG images sent to Facebook from the SDK expressed as a value from 0.0 to 1.0. |
|
1007 |
/// The default value is 0.9. |
|
1008 |
@property (nonatomic) CGFloat JPEGCompressionQuality; |
|
1009 |
/// Controls the automatic logging of basic app events such as <code>activateApp</code> and <code>deactivateApp</code>. |
|
1010 |
/// The default value is <code>true</code>. |
|
1011 |
@property (nonatomic) BOOL autoLogAppEventsEnabled SWIFT_DEPRECATED_MSG("\n This property is deprecated and will be removed in the next major release. Use `isAutoLogAppEventsEnabled` instead.\n "); |
|
1012 |
/// Controls the automatic logging of basic app events such as <code>activateApp</code> and <code>deactivateApp</code>. |
|
1013 |
/// The default value is <code>true</code>. |
|
1014 |
@property (nonatomic) BOOL isAutoLogAppEventsEnabled; |
|
1015 |
/// Controls the <code>fb_codeless_debug</code> logging event. |
|
1016 |
/// The default value is <code>false</code>. |
|
1017 |
@property (nonatomic) BOOL codelessDebugLogEnabled SWIFT_DEPRECATED_MSG("\n This property is deprecated and will be removed in the next major release. Use `isCodelessDebugLogEnabled` instead.\n "); |
|
1018 |
/// Controls the <code>fb_codeless_debug</code> logging event. |
|
1019 |
/// The default value is <code>false</code>. |
|
1020 |
@property (nonatomic) BOOL isCodelessDebugLogEnabled; |
|
1021 |
/// Controls the access to IDFA. |
|
1022 |
/// The default value is <code>true</code>. |
|
1023 |
@property (nonatomic) BOOL advertiserIDCollectionEnabled SWIFT_DEPRECATED_MSG("\n This property is deprecated and will be removed in the next major release. Use `isAdvertiserIDCollectionEnabled` instead.\n "); |
|
1024 |
/// Controls the access to IDFA. |
|
1025 |
/// The default value is <code>true</code>. |
|
1026 |
@property (nonatomic) BOOL isAdvertiserIDCollectionEnabled; |
|
1027 |
/// Controls the SKAdNetwork report. |
|
1028 |
/// The default value is <code>true</code>. |
|
1029 |
@property (nonatomic) BOOL skAdNetworkReportEnabled SWIFT_DEPRECATED_MSG("\n This property is deprecated and will be removed in the next major release. Use `isSKAdNetworkReportEnabled` instead.\n "); |
|
1030 |
/// Controls the SKAdNetwork report. |
|
1031 |
/// The default value is <code>true</code>. |
|
1032 |
@property (nonatomic) BOOL isSKAdNetworkReportEnabled; |
|
1033 |
/// Whether data such as that generated through <code>AppEvents</code> and sent to Facebook |
|
1034 |
/// should be restricted from being used for purposes other than analytics and conversions. |
|
1035 |
/// The default value is <code>false</code>. This value is stored on the device and persists across app launches. |
|
1036 |
@property (nonatomic) BOOL isEventDataUsageLimited; |
|
1037 |
/// Whether in-memory cached values should be used for expensive metadata fields, such as |
|
1038 |
/// carrier and advertiser ID, that are fetched on many <code>applicationDidBecomeActive</code> notifications. |
|
1039 |
/// The default value is <code>false</code>. This value is stored on the device and persists across app launches. |
|
1040 |
@property (nonatomic) BOOL shouldUseCachedValuesForExpensiveMetadata; |
|
1041 |
/// Controls error recovery for all <code>GraphRequest</code> instances created after the value is changed. |
|
1042 |
@property (nonatomic) BOOL isGraphErrorRecoveryEnabled; |
|
1043 |
/// The Facebook App ID used by the SDK. |
|
1044 |
/// The default value will be read from the application’s plist (FacebookAppID). |
|
1045 |
@property (nonatomic, copy) NSString * _Nullable appID; |
|
1046 |
/// The default URL scheme suffix used for sessions. |
|
1047 |
/// The default value will be read from the application’s plist (FacebookUrlSchemeSuffix). |
|
1048 |
@property (nonatomic, copy) NSString * _Nullable appURLSchemeSuffix; |
|
1049 |
/// The client token needed for certain anonymous API calls (i.e., those made without a user-based access token). |
|
1050 |
/// An app’s client token can be found by navigating to https://developers.facebook.com/apps/YOUR-APP-ID |
|
1051 |
/// (replacing “YOUR-APP-ID” with your actual app ID), choosing “Settings->Advanced” and scrolling to the “Security”. |
|
1052 |
/// The default value will be read from the application’s plist (FacebookClientToken). |
|
1053 |
@property (nonatomic, copy) NSString * _Nullable clientToken; |
|
1054 |
/// The Facebook Display Name used by the SDK. |
|
1055 |
/// This should match the Display Name that has been set for the app with the corresponding Facebook App ID |
|
1056 |
/// in the Facebook App Dashboard. |
|
1057 |
/// The default value will be read from the application’s plist (FacebookDisplayName). |
|
1058 |
@property (nonatomic, copy) NSString * _Nullable displayName; |
|
1059 |
/// The Facebook domain part. This can be used to change the Facebook domain |
|
1060 |
/// (e.g. “beta”) so that requests will be sent to <code>graph.beta.facebook.com</code>. |
|
1061 |
/// The default value will be read from the application’s plist (FacebookDomainPart). |
|
1062 |
@property (nonatomic, copy) NSString * _Nullable facebookDomainPart; |
|
1063 |
/// Overrides the default Graph API version to use with <code>GraphRequest</code> instances. |
|
1064 |
/// The string should be of the form <code>"v2.7"</code>. |
|
1065 |
/// The default value is <code>defaultGraphAPIVersion</code>. |
|
1066 |
@property (nonatomic, copy) NSString * _Nonnull graphAPIVersion; |
|
1067 |
/// Internal property exposed to facilitate transition to Swift. |
|
1068 |
/// API Subject to change or removal without warning. Do not use. |
|
1069 |
/// @warning INTERNAL - DO NOT USE |
|
1070 |
@property (nonatomic, copy) NSString * _Nullable userAgentSuffix; |
|
1071 |
/// Controls the advertiser tracking status of the data sent to Facebook. |
|
1072 |
@property (nonatomic) BOOL advertiserTrackingEnabled SWIFT_DEPRECATED_MSG("\n This property is deprecated and will be removed in the next major release. Use `isAdvertiserTrackingEnabled` instead.\n "); |
|
1073 |
/// Controls the advertiser tracking status of the data sent to Facebook. |
|
1074 |
@property (nonatomic) BOOL isAdvertiserTrackingEnabled; |
|
1075 |
/// Internal property exposed to facilitate transition to Swift. |
|
1076 |
/// API Subject to change or removal without warning. Do not use. |
|
1077 |
/// @warning INTERNAL - DO NOT USE |
|
1078 |
@property (nonatomic) FBSDKAdvertisingTrackingStatus advertisingTrackingStatus; |
|
1079 |
/// Internal property exposed to facilitate transition to Swift. |
|
1080 |
/// API Subject to change or removal without warning. Do not use. |
|
1081 |
/// @warning INTERNAL - DO NOT USE |
|
1082 |
@property (nonatomic, readonly) BOOL isDataProcessingRestricted; |
|
1083 |
/// Internal property exposed to facilitate transition to Swift. |
|
1084 |
/// API Subject to change or removal without warning. Do not use. |
|
1085 |
/// @warning INTERNAL - DO NOT USE |
|
1086 |
@property (nonatomic, readonly, copy) NSDictionary<NSString *, id> * _Nullable persistableDataProcessingOptions; |
|
1087 |
/// Set the data processing options. |
|
1088 |
/// \param options The list of options. |
|
1089 |
/// |
|
1090 |
- (void)setDataProcessingOptions:(NSArray<NSString *> * _Nullable)options; |
|
1091 |
/// Sets the data processing options. |
97fc0a
|
1092 |
/// <ul> |
L |
1093 |
/// <li> |
|
1094 |
/// Parameters: |
|
1095 |
/// </li> |
|
1096 |
/// <li> |
|
1097 |
/// options The list of the options. |
|
1098 |
/// </li> |
|
1099 |
/// <li> |
|
1100 |
/// country The code for the country. |
|
1101 |
/// </li> |
|
1102 |
/// <li> |
|
1103 |
/// state The code for the state. |
|
1104 |
/// </li> |
|
1105 |
/// </ul> |
e0ec42
|
1106 |
- (void)setDataProcessingOptions:(NSArray<NSString *> * _Nullable)options country:(int32_t)country state:(int32_t)state; |
L |
1107 |
/// The current Facebook SDK logging behavior. This should consist of strings |
|
1108 |
/// defined as constants with <code>LoggingBehavior</code> that indicate what information should be logged. |
|
1109 |
/// Set to an empty set in order to disable all logging. |
|
1110 |
/// You can also define this via an array in your app’s plist with the key “FacebookLoggingBehavior”; or add/remove |
|
1111 |
/// individual values via <code>enableLoggingBehavior(_:)</code> or <code>disableLoggingBehavior(_:)</code> |
|
1112 |
/// The default value is <code>[.developerErrors]</code>. |
|
1113 |
@property (nonatomic, copy) NSSet<FBSDKLoggingBehavior> * _Nonnull loggingBehaviors; |
|
1114 |
/// Enable a particular Facebook SDK logging behavior. |
|
1115 |
/// \param loggingBehavior The logging behavior to enable. This should be a string constant defined |
|
1116 |
/// as a <code>LoggingBehavior</code>. |
|
1117 |
/// |
|
1118 |
- (void)enableLoggingBehavior:(FBSDKLoggingBehavior _Nonnull)loggingBehavior; |
|
1119 |
/// Disable a particular Facebook SDK logging behavior. |
|
1120 |
/// \param loggingBehavior The logging behavior to disable. This should be a string constant defined |
|
1121 |
/// as a <code>LoggingBehavior</code>. |
|
1122 |
/// |
|
1123 |
- (void)disableLoggingBehavior:(FBSDKLoggingBehavior _Nonnull)loggingBehavior; |
|
1124 |
/// Internal property exposed to facilitate transition to Swift. |
|
1125 |
/// API Subject to change or removal without warning. Do not use. |
|
1126 |
/// @warning INTERNAL - DO NOT USE |
|
1127 |
@property (nonatomic) BOOL shouldUseTokenOptimizations; |
|
1128 |
/// Internal property exposed to facilitate transition to Swift. |
|
1129 |
/// API Subject to change or removal without warning. Do not use. |
|
1130 |
/// @warning INTERNAL - DO NOT USE |
|
1131 |
@property (nonatomic, readonly) BOOL isSetATETimeExceedsInstallTime SWIFT_DEPRECATED_MSG("\n This property is deprecated and will be removed in the next major release. Use `isATETimeSufficientlyDelayed` instead.\n "); |
|
1132 |
/// Internal property exposed to facilitate transition to Swift. |
|
1133 |
/// API Subject to change or removal without warning. Do not use. |
|
1134 |
/// @warning INTERNAL - DO NOT USE |
|
1135 |
@property (nonatomic, readonly) BOOL isATETimeSufficientlyDelayed; |
|
1136 |
/// Internal property exposed to facilitate transition to Swift. |
|
1137 |
/// API Subject to change or removal without warning. Do not use. |
|
1138 |
/// @warning INTERNAL - DO NOT USE |
|
1139 |
@property (nonatomic, readonly, copy) NSDate * _Nullable installTimestamp; |
|
1140 |
/// Internal property exposed to facilitate transition to Swift. |
|
1141 |
/// API Subject to change or removal without warning. Do not use. |
|
1142 |
/// @warning INTERNAL - DO NOT USE |
|
1143 |
@property (nonatomic, readonly, copy) NSDate * _Nullable advertiserTrackingEnabledTimestamp; |
|
1144 |
/// Internal property exposed to facilitate transition to Swift. |
|
1145 |
/// API Subject to change or removal without warning. Do not use. |
|
1146 |
/// @warning INTERNAL - DO NOT USE |
|
1147 |
@property (nonatomic, readonly, copy) NSString * _Nullable graphAPIDebugParamValue SWIFT_DEPRECATED_MSG("\n This property is deprecated and will be removed in the next major release. Use `graphAPIDebugParameterValue` instead.\n "); |
|
1148 |
/// Internal property exposed to facilitate transition to Swift. |
|
1149 |
/// API Subject to change or removal without warning. Do not use. |
|
1150 |
/// @warning INTERNAL - DO NOT USE |
|
1151 |
@property (nonatomic, readonly, copy) NSString * _Nullable graphAPIDebugParameterValue; |
97fc0a
|
1152 |
/// Controls whether to show domain errors. |
L |
1153 |
@property (nonatomic) BOOL isDomainErrorEnabled; |
e0ec42
|
1154 |
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; |
L |
1155 |
@end |
|
1156 |
|
|
1157 |
|
|
1158 |
|
|
1159 |
|
|
1160 |
|
|
1161 |
|
|
1162 |
@interface FBSDKSettings (SWIFT_EXTENSION(FBSDKCoreKit)) |
|
1163 |
/// Internal method exposed to facilitate transition to Swift. |
|
1164 |
/// API Subject to change or removal without warning. Do not use. |
|
1165 |
/// @warning INTERNAL - DO NOT USE |
|
1166 |
- (void)recordInstall; |
|
1167 |
/// Internal method exposed to facilitate transition to Swift. |
|
1168 |
/// API Subject to change or removal without warning. Do not use. |
|
1169 |
/// @warning INTERNAL - DO NOT USE |
|
1170 |
- (void)logWarnings; |
|
1171 |
/// Internal method exposed to facilitate transition to Swift. |
|
1172 |
/// API Subject to change or removal without warning. Do not use. |
|
1173 |
/// @warning INTERNAL - DO NOT USE |
|
1174 |
- (void)logIfSDKSettingsChanged; |
|
1175 |
@end |
|
1176 |
|
97fc0a
|
1177 |
|
L |
1178 |
|
|
1179 |
@class NSURLRequest; |
|
1180 |
|
|
1181 |
/// Internal class exposed to facilitate transition to Swift. |
|
1182 |
/// API Subject to change or removal without warning. Do not use. |
|
1183 |
/// @warning INTERNAL - DO NOT USE |
|
1184 |
SWIFT_CLASS_NAMED("ShimGraphRequestInterceptor") |
|
1185 |
@interface FBSDKShimGraphRequestInterceptor : NSObject |
|
1186 |
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FBSDKShimGraphRequestInterceptor * _Nonnull shared;) |
|
1187 |
+ (FBSDKShimGraphRequestInterceptor * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; |
|
1188 |
- (BOOL)shouldInterceptRequest:(NSURLRequest * _Nonnull)request SWIFT_WARN_UNUSED_RESULT; |
|
1189 |
- (void)executeWithRequest:(NSURLRequest * _Nonnull)request completionHandler:(FBSDKURLSessionTaskBlock _Nonnull)completionHandler; |
|
1190 |
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; |
|
1191 |
@end |
e0ec42
|
1192 |
|
L |
1193 |
|
|
1194 |
|
|
1195 |
/// Internal Type exposed to facilitate transition to Swift. |
|
1196 |
/// API Subject to change or removal without warning. Do not use. |
|
1197 |
/// @warning INTERNAL - DO NOT USE |
|
1198 |
SWIFT_PROTOCOL_NAMED("_AccessTokenExpiring") |
|
1199 |
@protocol _FBSDKAccessTokenExpiring |
|
1200 |
@end |
|
1201 |
|
|
1202 |
@protocol _FBSDKNotificationPosting; |
|
1203 |
@protocol FBSDKNotificationDelivering; |
|
1204 |
|
|
1205 |
/// Internal Type exposed to facilitate transition to Swift. |
|
1206 |
/// API Subject to change or removal without warning. Do not use. |
|
1207 |
/// @warning INTERNAL - DO NOT USE |
|
1208 |
SWIFT_CLASS_NAMED("_AccessTokenExpirer") |
|
1209 |
@interface _FBSDKAccessTokenExpirer : NSObject <_FBSDKAccessTokenExpiring> |
|
1210 |
- (nonnull instancetype)initWithNotificationCenter:(id <_FBSDKNotificationPosting, FBSDKNotificationDelivering> _Nonnull)notificationCenter OBJC_DESIGNATED_INITIALIZER; |
|
1211 |
- (nonnull instancetype)init SWIFT_UNAVAILABLE; |
|
1212 |
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); |
|
1213 |
@end |
|
1214 |
|
|
1215 |
|
|
1216 |
@class FBSDKContainerViewController; |
|
1217 |
|
|
1218 |
/// Internal Type exposed to facilitate transition to Swift. |
|
1219 |
/// API Subject to change or removal without warning. Do not use. |
|
1220 |
/// @warning INTERNAL - DO NOT USE |
|
1221 |
SWIFT_CLASS("_TtC12FBSDKCoreKit10_BridgeAPI") |
|
1222 |
@interface _BridgeAPI : NSObject <FBSDKBridgeAPIRequestOpening, FBSDKApplicationObserving, FBSDKURLOpener, FBSDKContainerViewControllerDelegate, SFSafariViewControllerDelegate> |
|
1223 |
- (void)viewControllerDidDisappear:(FBSDKContainerViewController * _Nonnull)viewController animated:(BOOL)animated; |
|
1224 |
- (nonnull instancetype)init SWIFT_UNAVAILABLE; |
|
1225 |
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); |
|
1226 |
@end |
|
1227 |
|
|
1228 |
@class SFSafariViewController; |
|
1229 |
|
|
1230 |
@interface _BridgeAPI (SWIFT_EXTENSION(FBSDKCoreKit)) |
|
1231 |
- (void)safariViewControllerDidFinish:(SFSafariViewController * _Nonnull)safariViewController; |
|
1232 |
@end |
|
1233 |
|
|
1234 |
@class ASWebAuthenticationSession; |
|
1235 |
|
|
1236 |
SWIFT_AVAILABILITY(ios,introduced=13) |
|
1237 |
@interface _BridgeAPI (SWIFT_EXTENSION(FBSDKCoreKit)) <ASWebAuthenticationPresentationContextProviding> |
|
1238 |
- (ASPresentationAnchor _Nonnull)presentationAnchorForWebAuthenticationSession:(ASWebAuthenticationSession * _Nonnull)session SWIFT_WARN_UNUSED_RESULT; |
|
1239 |
@end |
|
1240 |
|
|
1241 |
@protocol FBSDKURLOpening; |
|
1242 |
@protocol FBSDKBridgeAPIRequest; |
|
1243 |
@class UIViewController; |
|
1244 |
|
|
1245 |
@interface _BridgeAPI (SWIFT_EXTENSION(FBSDKCoreKit)) |
|
1246 |
- (void)openURL:(NSURL * _Nonnull)url sender:(id <FBSDKURLOpening> _Nullable)sender handler:(FBSDKSuccessBlock _Nonnull)handler; |
|
1247 |
- (void)openBridgeAPIRequest:(id <FBSDKBridgeAPIRequest> _Nonnull)request useSafariViewController:(BOOL)useSafariViewController fromViewController:(UIViewController * _Nullable)fromViewController completionBlock:(FBSDKBridgeAPIResponseBlock _Nonnull)completionBlock; |
|
1248 |
- (void)openURLWithSafariViewController:(NSURL * _Nonnull)url sender:(id <FBSDKURLOpening> _Nullable)sender fromViewController:(UIViewController * _Nullable)fromViewController handler:(FBSDKSuccessBlock _Nonnull)handler; |
|
1249 |
@end |
|
1250 |
|
|
1251 |
|
|
1252 |
@interface _BridgeAPI (SWIFT_EXTENSION(FBSDKCoreKit)) |
|
1253 |
- (void)applicationWillResignActive:(UIApplication * _Nullable)application; |
|
1254 |
- (void)applicationDidBecomeActive:(UIApplication * _Nullable)application; |
|
1255 |
- (void)applicationDidEnterBackground:(UIApplication * _Nullable)application; |
|
1256 |
- (BOOL)application:(UIApplication * _Nonnull)application openURL:(NSURL * _Nonnull)url sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; |
|
1257 |
- (BOOL)application:(UIApplication * _Nonnull)application didFinishLaunchingWithOptions:(NSDictionary<UIApplicationLaunchOptionsKey, id> * _Nullable)launchOptions SWIFT_WARN_UNUSED_RESULT; |
|
1258 |
@end |
|
1259 |
|
|
1260 |
@protocol FBSDKPasteboard; |
|
1261 |
|
|
1262 |
/// Internal Type exposed to facilitate transition to Swift. |
|
1263 |
/// API Subject to change or removal without warning. Do not use. |
|
1264 |
/// @warning INTERNAL - DO NOT USE |
|
1265 |
SWIFT_CLASS_NAMED("_BridgeAPIProtocolNativeV1") |
|
1266 |
@interface FBSDKBridgeAPIProtocolNativeV1 : NSObject <FBSDKBridgeAPIProtocol> |
|
1267 |
- (nonnull instancetype)initWithAppScheme:(NSString * _Nullable)appScheme; |
|
1268 |
- (nonnull instancetype)initWithAppScheme:(NSString * _Nullable)appScheme pasteboard:(id <FBSDKPasteboard> _Nullable)pasteboard dataLengthThreshold:(NSUInteger)dataLengthThreshold includeAppIcon:(BOOL)shouldIncludeAppIcon OBJC_DESIGNATED_INITIALIZER; |
|
1269 |
- (NSURL * _Nullable)requestURLWithActionID:(NSString * _Nonnull)actionID scheme:(NSString * _Nonnull)scheme methodName:(NSString * _Nonnull)methodName parameters:(NSDictionary<NSString *, id> * _Nonnull)parameters error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT; |
|
1270 |
- (NSDictionary<NSString *, id> * _Nullable)responseParametersForActionID:(NSString * _Nonnull)actionID queryParameters:(NSDictionary<NSString *, id> * _Nonnull)queryParameters cancelled:(BOOL * _Nullable)cancelledRef error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT; |
|
1271 |
- (nonnull instancetype)init SWIFT_UNAVAILABLE; |
|
1272 |
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); |
|
1273 |
@end |
|
1274 |
|
|
1275 |
|
|
1276 |
|
|
1277 |
/// Internal Type exposed to facilitate transition to Swift. |
|
1278 |
/// API Subject to change or removal without warning. Do not use. |
|
1279 |
/// @warning INTERNAL - DO NOT USE |
|
1280 |
SWIFT_CLASS_NAMED("_BridgeAPIRequestFactory") |
|
1281 |
@interface FBSDKBridgeAPIRequestFactory : NSObject <FBSDKBridgeAPIRequestCreating> |
|
1282 |
- (id <FBSDKBridgeAPIRequest> _Nullable)bridgeAPIRequestWithProtocolType:(FBSDKBridgeAPIProtocolType)protocolType scheme:(NSString * _Nonnull)scheme methodName:(NSString * _Nullable)methodName parameters:(NSDictionary<NSString *, id> * _Nullable)parameters userInfo:(NSDictionary<NSString *, id> * _Nullable)userInfo SWIFT_WARN_UNUSED_RESULT; |
|
1283 |
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; |
|
1284 |
@end |
|
1285 |
|
|
1286 |
@class FBSDKDialogConfiguration; |
|
1287 |
|
|
1288 |
/// Internal Type exposed to facilitate transition to Swift. |
|
1289 |
/// API Subject to change or removal without warning. Do not use. |
|
1290 |
/// @warning INTERNAL - DO NOT USE |
|
1291 |
SWIFT_CLASS_NAMED("_DialogConfigurationMapBuilder") |
|
1292 |
@interface FBSDKDialogConfigurationMapBuilder : NSObject <FBSDKDialogConfigurationMapBuilding> |
|
1293 |
- (NSDictionary<NSString *, FBSDKDialogConfiguration *> * _Nonnull)buildDialogConfigurationMapWithRawConfigurations:(NSArray<NSDictionary<NSString *, id> *> * _Nonnull)rawConfigurations SWIFT_WARN_UNUSED_RESULT; |
|
1294 |
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; |
|
1295 |
@end |
|
1296 |
|
|
1297 |
|
|
1298 |
/// Internal type exposed to facilitate transition to Swift. |
|
1299 |
/// API Subject to change or removal without warning. Do not use. |
|
1300 |
/// @warning INTERNAL - DO NOT USE |
|
1301 |
SWIFT_CLASS_NAMED("_ErrorFactory") |
|
1302 |
@interface FBSDKErrorFactory : NSObject <FBSDKErrorCreating> |
|
1303 |
- (NSError * _Nonnull)errorWithCode:(NSInteger)code userInfo:(NSDictionary<NSString *, id> * _Nullable)userInfo message:(NSString * _Nullable)message underlyingError:(NSError * _Nullable)underlyingError SWIFT_WARN_UNUSED_RESULT; |
|
1304 |
- (NSError * _Nonnull)errorWithDomain:(NSString * _Nonnull)domain code:(NSInteger)code userInfo:(NSDictionary<NSString *, id> * _Nullable)userInfo message:(NSString * _Nullable)message underlyingError:(NSError * _Nullable)underlyingError SWIFT_WARN_UNUSED_RESULT; |
|
1305 |
- (NSError * _Nonnull)invalidArgumentErrorWithName:(NSString * _Nonnull)name value:(id _Nullable)value message:(NSString * _Nullable)message underlyingError:(NSError * _Nullable)underlyingError SWIFT_WARN_UNUSED_RESULT; |
|
1306 |
- (NSError * _Nonnull)invalidArgumentErrorWithDomain:(NSString * _Nonnull)domain name:(NSString * _Nonnull)name value:(id _Nullable)value message:(NSString * _Nullable)message underlyingError:(NSError * _Nullable)underlyingError SWIFT_WARN_UNUSED_RESULT; |
|
1307 |
- (NSError * _Nonnull)requiredArgumentErrorWithName:(NSString * _Nonnull)name message:(NSString * _Nullable)message underlyingError:(NSError * _Nullable)underlyingError SWIFT_WARN_UNUSED_RESULT; |
|
1308 |
- (NSError * _Nonnull)requiredArgumentErrorWithDomain:(NSString * _Nonnull)domain name:(NSString * _Nonnull)name message:(NSString * _Nullable)message underlyingError:(NSError * _Nullable)underlyingError SWIFT_WARN_UNUSED_RESULT; |
|
1309 |
- (NSError * _Nonnull)unknownErrorWithMessage:(NSString * _Nullable)message userInfo:(NSDictionary<NSString *, id> * _Nullable)userInfo SWIFT_WARN_UNUSED_RESULT; |
|
1310 |
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; |
|
1311 |
@end |
|
1312 |
|
|
1313 |
|
|
1314 |
|
|
1315 |
/// Internal Type exposed to facilitate transition to Swift. |
|
1316 |
/// API Subject to change or removal without warning. Do not use. |
|
1317 |
/// @warning INTERNAL - DO NOT USE |
|
1318 |
SWIFT_CLASS_NAMED("_FBCloseIcon") |
|
1319 |
@interface FBSDKCloseIcon : NSObject |
|
1320 |
- (UIImage * _Nullable)imageWithSize:(CGSize)size SWIFT_WARN_UNUSED_RESULT; |
|
1321 |
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; |
|
1322 |
@end |
|
1323 |
|
|
1324 |
|
|
1325 |
/// Internal Type exposed to facilitate transition to Swift. |
|
1326 |
/// API Subject to change or removal without warning. Do not use. |
|
1327 |
/// @warning INTERNAL - DO NOT USE |
|
1328 |
SWIFT_CLASS_NAMED("_FBLogo") |
|
1329 |
@interface FBSDKLogo : FBSDKIcon |
|
1330 |
- (CGPathRef _Nullable)pathWith:(CGSize)size SWIFT_WARN_UNUSED_RESULT; |
|
1331 |
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; |
|
1332 |
@end |
|
1333 |
|
|
1334 |
|
|
1335 |
/// Internal Type exposed to facilitate transition to Swift. |
|
1336 |
/// API Subject to change or removal without warning. Do not use. |
|
1337 |
/// @warning INTERNAL - DO NOT USE |
|
1338 |
SWIFT_CLASS_NAMED("_FeatureManager") |
|
1339 |
@interface FBSDKFeatureManager : NSObject <FBSDKFeatureChecking, FBSDKFeatureDisabling> |
|
1340 |
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FBSDKFeatureManager * _Nonnull shared;) |
|
1341 |
+ (FBSDKFeatureManager * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; |
|
1342 |
- (BOOL)isEnabled:(FBSDKFeature)feature SWIFT_WARN_UNUSED_RESULT; |
|
1343 |
- (void)checkFeature:(FBSDKFeature)feature completionBlock:(FBSDKFeatureManagerBlock _Nonnull)completionBlock; |
|
1344 |
- (void)disableFeature:(FBSDKFeature)feature; |
|
1345 |
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; |
|
1346 |
@end |
|
1347 |
|
|
1348 |
|
|
1349 |
|
|
1350 |
/// Internal Type exposed to facilitate transition to Swift. |
|
1351 |
/// API Subject to change or removal without warning. Do not use. |
|
1352 |
/// @warning INTERNAL - DO NOT USE |
|
1353 |
SWIFT_CLASS_NAMED("_HumanSilhouetteIcon") |
|
1354 |
@interface FBSDKHumanSilhouetteIcon : FBSDKIcon |
|
1355 |
- (CGPathRef _Nullable)pathWith:(CGSize)size SWIFT_WARN_UNUSED_RESULT; |
|
1356 |
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; |
|
1357 |
@end |
|
1358 |
|
|
1359 |
|
|
1360 |
/// Internal Type exposed to facilitate transition to Swift. |
|
1361 |
/// API Subject to change or removal without warning. Do not use. |
|
1362 |
/// @warning INTERNAL - DO NOT USE |
|
1363 |
SWIFT_CLASS_NAMED("_MeasurementEvent") |
|
1364 |
@interface FBSDKMeasurementEvent : NSObject <FBSDKAppLinkEventPosting> |
|
1365 |
- (void)postNotificationForEventName:(NSString * _Nonnull)eventName args:(NSDictionary<NSString *, id> * _Nonnull)arguments; |
|
1366 |
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; |
|
1367 |
@end |
|
1368 |
|
|
1369 |
@class SKPaymentQueue; |
|
1370 |
@protocol FBSDKPaymentProductRequestorCreating; |
|
1371 |
|
|
1372 |
/// Internal Type exposed to facilitate transition to Swift. |
|
1373 |
/// API Subject to change or removal without warning. Do not use. |
|
1374 |
/// @warning INTERNAL - DO NOT USE |
|
1375 |
/// Class to encapsulate implicit logging of purchase events |
|
1376 |
SWIFT_CLASS_NAMED("_PaymentObserver") |
|
1377 |
@interface FBSDKPaymentObserver : NSObject <FBSDKPaymentObserving> |
|
1378 |
- (nonnull instancetype)initWithPaymentQueue:(SKPaymentQueue * _Nonnull)paymentQueue paymentProductRequestorFactory:(id <FBSDKPaymentProductRequestorCreating> _Nonnull)paymentProductRequestorFactory OBJC_DESIGNATED_INITIALIZER; |
|
1379 |
- (void)startObservingTransactions; |
|
1380 |
- (void)stopObservingTransactions; |
|
1381 |
- (nonnull instancetype)init SWIFT_UNAVAILABLE; |
|
1382 |
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); |
|
1383 |
@end |
|
1384 |
|
|
1385 |
@class SKPaymentTransaction; |
|
1386 |
|
|
1387 |
@interface FBSDKPaymentObserver (SWIFT_EXTENSION(FBSDKCoreKit)) <SKPaymentTransactionObserver> |
|
1388 |
- (void)paymentQueue:(SKPaymentQueue * _Nonnull)queue updatedTransactions:(NSArray<SKPaymentTransaction *> * _Nonnull)transactions; |
|
1389 |
@end |
|
1390 |
|
|
1391 |
@class FBSDKPaymentProductRequestor; |
|
1392 |
|
|
1393 |
/// Internal Type exposed to facilitate transition to Swift. |
|
1394 |
/// API Subject to change or removal without warning. Do not use. |
|
1395 |
/// @warning INTERNAL - DO NOT USE |
|
1396 |
SWIFT_CLASS_NAMED("_PaymentProductRequestorFactory") |
|
1397 |
@interface FBSDKPaymentProductRequestorFactory : NSObject <FBSDKPaymentProductRequestorCreating> |
|
1398 |
- (FBSDKPaymentProductRequestor * _Nonnull)createRequestorWithTransaction:(SKPaymentTransaction * _Nonnull)transaction SWIFT_WARN_UNUSED_RESULT; |
|
1399 |
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; |
|
1400 |
@end |
|
1401 |
|
|
1402 |
|
|
1403 |
|
|
1404 |
/// Internal Type exposed to facilitate transition to Swift. |
|
1405 |
/// API Subject to change or removal without warning. Do not use. |
|
1406 |
/// @warning INTERNAL - DO NOT USE |
|
1407 |
SWIFT_CLASS_NAMED("_RestrictiveEventFilter") |
|
1408 |
@interface FBSDKRestrictiveEventFilter : NSObject |
|
1409 |
@property (nonatomic, readonly, copy) NSString * _Nonnull eventName; |
|
1410 |
@property (nonatomic, readonly, copy) NSDictionary<NSString *, id> * _Nonnull restrictiveParameters; |
|
1411 |
- (nonnull instancetype)initWithEventName:(NSString * _Nonnull)eventName restrictiveParameters:(NSDictionary<NSString *, id> * _Nonnull)restrictiveParameters OBJC_DESIGNATED_INITIALIZER; |
|
1412 |
- (nonnull instancetype)init SWIFT_UNAVAILABLE; |
|
1413 |
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); |
|
1414 |
@end |
|
1415 |
|
|
1416 |
|
|
1417 |
/// Internal Type exposed to facilitate transition to Swift. |
|
1418 |
/// API Subject to change or removal without warning. Do not use. |
|
1419 |
/// @warning INTERNAL - DO NOT USE |
|
1420 |
SWIFT_CLASS_NAMED("_SKAdNetworkEvent") |
|
1421 |
@interface FBSDKSKAdNetworkEvent : NSObject |
|
1422 |
@property (nonatomic, readonly, copy) NSString * _Nullable eventName; |
|
1423 |
@property (nonatomic, copy) NSDictionary<NSString *, NSNumber *> * _Nullable values; |
|
1424 |
- (nullable instancetype)initWithJSON:(NSDictionary<NSString *, id> * _Nonnull)json OBJC_DESIGNATED_INITIALIZER; |
|
1425 |
- (nonnull instancetype)init SWIFT_UNAVAILABLE; |
|
1426 |
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); |
|
1427 |
@end |
|
1428 |
|
|
1429 |
|
|
1430 |
/// Internal Type exposed to facilitate transition to Swift. |
|
1431 |
/// API Subject to change or removal without warning. Do not use. |
|
1432 |
/// @warning INTERNAL - DO NOT USE |
|
1433 |
SWIFT_CLASS_NAMED("_ViewImpressionLogger") |
|
1434 |
@interface FBSDKViewImpressionLogger : NSObject <FBSDKImpressionLogging> |
|
1435 |
- (nonnull instancetype)initWithEventName:(FBSDKAppEventName _Nonnull)eventName OBJC_DESIGNATED_INITIALIZER; |
|
1436 |
+ (FBSDKViewImpressionLogger * _Nonnull)retrieveLoggerWith:(FBSDKAppEventName _Nonnull)eventName SWIFT_WARN_UNUSED_RESULT; |
|
1437 |
- (void)logImpressionWithIdentifier:(NSString * _Nonnull)identifier parameters:(NSDictionary<FBSDKAppEventParameterName, id> * _Nullable)parameters; |
|
1438 |
- (nonnull instancetype)init SWIFT_UNAVAILABLE; |
|
1439 |
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); |
|
1440 |
@end |
|
1441 |
|
|
1442 |
|
|
1443 |
@protocol FBSDKWebDialogDelegate; |
|
1444 |
|
|
1445 |
/// Internal Type exposed to facilitate transition to Swift. |
|
1446 |
/// API Subject to change or removal without warning. Do not use. |
|
1447 |
/// @warning INTERNAL - DO NOT USE |
|
1448 |
SWIFT_CLASS_NAMED("_WebDialog") |
|
1449 |
@interface FBSDKWebDialog : NSObject |
|
1450 |
@property (nonatomic) BOOL shouldDeferVisibility; |
|
1451 |
@property (nonatomic, weak) id <FBSDKWebDialogDelegate> _Nullable delegate; |
|
1452 |
- (nonnull instancetype)initWithName:(NSString * _Nonnull)name parameters:(NSDictionary<NSString *, NSString *> * _Nullable)parameters webViewFrame:(CGRect)webViewFrame path:(NSString * _Nullable)path OBJC_DESIGNATED_INITIALIZER; |
|
1453 |
- (nonnull instancetype)initWithName:(NSString * _Nonnull)name; |
|
1454 |
- (void)show; |
|
1455 |
- (nonnull instancetype)init SWIFT_UNAVAILABLE; |
|
1456 |
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); |
|
1457 |
@end |
|
1458 |
|
|
1459 |
@class FBSDKWebDialogView; |
|
1460 |
|
|
1461 |
@interface FBSDKWebDialog (SWIFT_EXTENSION(FBSDKCoreKit)) <FBSDKWebDialogViewDelegate> |
|
1462 |
- (void)webDialogView:(FBSDKWebDialogView * _Nonnull)webDialogView didCompleteWithResults:(NSDictionary<NSString *, id> * _Nonnull)results; |
|
1463 |
- (void)webDialogView:(FBSDKWebDialogView * _Nonnull)webDialogView didFailWithError:(NSError * _Nonnull)error; |
|
1464 |
- (void)webDialogViewDidCancel:(FBSDKWebDialogView * _Nonnull)webDialogView; |
|
1465 |
- (void)webDialogViewDidFinishLoad:(FBSDKWebDialogView * _Nonnull)webDialogView; |
|
1466 |
@end |
|
1467 |
|
|
1468 |
|
|
1469 |
@protocol FBSDKWebView; |
|
1470 |
|
|
1471 |
/// Internal Type exposed to facilitate transition to Swift. |
|
1472 |
/// API Subject to change or removal without warning. Do not use. |
|
1473 |
/// @warning INTERNAL - DO NOT USE |
|
1474 |
SWIFT_CLASS_NAMED("_WebViewFactory") |
|
1475 |
@interface FBSDKWebViewFactory : NSObject <FBSDKWebViewProviding> |
|
1476 |
- (id <FBSDKWebView> _Nonnull)createWebViewWithFrame:(CGRect)frame SWIFT_WARN_UNUSED_RESULT; |
|
1477 |
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; |
|
1478 |
@end |
|
1479 |
|
|
1480 |
#endif |
|
1481 |
#if __has_attribute(external_source_symbol) |
|
1482 |
# pragma clang attribute pop |
|
1483 |
#endif |
97fc0a
|
1484 |
#if defined(__cplusplus) |
L |
1485 |
#endif |
e0ec42
|
1486 |
#pragma clang diagnostic pop |
L |
1487 |
#endif |
|
1488 |
|
|
1489 |
#else |
|
1490 |
#error unsupported Swift architecture |
|
1491 |
#endif |