lpw
2021-04-20 b19a78b27247f5f0761c35b5b3e8a41876eabb05
frameworks/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h
@@ -18,6 +18,8 @@
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
/**
  The FBSDKApplicationDelegate is designed to post process the results from Facebook Login
@@ -29,12 +31,17 @@
 The methods in this class are designed to mirror those in UIApplicationDelegate, and you
 should call them in the respective methods in your AppDelegate implementation.
 */
NS_SWIFT_NAME(ApplicationDelegate)
@interface FBSDKApplicationDelegate : NSObject
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
/**
  Gets the singleton instance.
 Gets the singleton instance.
 */
+ (instancetype)sharedInstance;
@property (class, nonatomic, readonly, strong) FBSDKApplicationDelegate *sharedInstance
NS_SWIFT_NAME(shared);
/**
  Call this method from the [UIApplicationDelegate application:openURL:sourceApplication:annotation:] method
@@ -53,8 +60,8 @@
 */
- (BOOL)application:(UIApplication *)application
            openURL:(NSURL *)url
  sourceApplication:(NSString *)sourceApplication
         annotation:(id)annotation;
  sourceApplication:(nullable NSString *)sourceApplication
         annotation:(nullable id)annotation;
#if __IPHONE_OS_VERSION_MAX_ALLOWED > __IPHONE_9_0
/**
@@ -72,7 +79,7 @@
 */
- (BOOL)application:(UIApplication *)application
            openURL:(NSURL *)url
            options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options;
            options:(NSDictionary<UIApplicationOpenURLOptionsKey, id> *)options;
#endif
/**
@@ -87,6 +94,18 @@
 @return YES if the url was intended for the Facebook SDK, NO if not.
 */
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions;
- (BOOL)application:(UIApplication *)application
didFinishLaunchingWithOptions:(nullable NSDictionary<UIApplicationLaunchOptionsKey, id> *)launchOptions;
/**
  Call this method to manually initialize SDK.
 @param launchOptions The launchOptions as passed to [UIApplicationDelegate application:didFinishLaunchingWithOptions:].
 Could be nil if you don't call this function from [UIApplicationDelegate application:didFinishLaunchingWithOptions:].
 */
+ (void)initializeSDK:(nullable NSDictionary<UIApplicationLaunchOptionsKey, id> *)launchOptions
DEPRECATED_MSG_ATTRIBUTE("This method is called automatically from `application:didFinishLaunchingWithOptions:`. Please use that method instead. This one will be removed in a future release.");
@end
NS_ASSUME_NONNULL_END