lpw
2022-02-15 2e29a3a585524a054640bb6e7bdf26fe77ba1f17
commit | author | age
2e29a3 1 /*
L 2  * Copyright (c) Meta Platforms, Inc. and affiliates.
3  * All rights reserved.
4  *
5  * This source code is licensed under the license found in the
6  * LICENSE file in the root directory of this source tree.
7  */
8
9 #import <Foundation/Foundation.h>
10
11 NS_ASSUME_NONNULL_BEGIN
12
13 /*
14  Describes any types that optionally responds to various lifecycle events
15  received by the system and propagated by `ApplicationDelegate`.
16  */
17 @protocol FBSDKApplicationObserving <NSObject>
18
19 @optional
20 - (void)applicationDidBecomeActive:(nullable UIApplication *)application;
21 - (void)applicationWillResignActive:(nullable UIApplication *)application;
22 - (void)applicationDidEnterBackground:(nullable UIApplication *)application;
23 - (BOOL)            application:(UIApplication *)application
24   didFinishLaunchingWithOptions:(nullable NSDictionary<UIApplicationLaunchOptionsKey, id> *)launchOptions;
25
26 - (BOOL)application:(UIApplication *)application
27             openURL:(NSURL *)url
28   sourceApplication:(nullable NSString *)sourceApplication
29          annotation:(nullable id)annotation;
30
31 @end
32
33 NS_ASSUME_NONNULL_END