FBSDKApplicationObserving.h 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. /*
  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. #import <Foundation/Foundation.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. /*
  11. Describes any types that optionally responds to various lifecycle events
  12. received by the system and propagated by `ApplicationDelegate`.
  13. */
  14. @protocol FBSDKApplicationObserving
  15. @optional
  16. - (void)applicationDidBecomeActive:(nullable UIApplication *)application;
  17. - (void)applicationWillResignActive:(nullable UIApplication *)application;
  18. - (void)applicationDidEnterBackground:(nullable UIApplication *)application;
  19. - (BOOL) application:(UIApplication *)application
  20. didFinishLaunchingWithOptions:(nullable NSDictionary<UIApplicationLaunchOptionsKey, id> *)launchOptions;
  21. - (BOOL)application:(UIApplication *)application
  22. openURL:(NSURL *)url
  23. sourceApplication:(nullable NSString *)sourceApplication
  24. annotation:(nullable id)annotation;
  25. @end
  26. NS_ASSUME_NONNULL_END