lpw
2023-06-03 e0ec4235cc7b8d05ec1aaa414ec2d2cac798d74e
commit | author | age
e0ec42 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
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