#import <FlutterPluginAppLifeCycleDelegate.h>
Propagates UIAppDelegate callbacks to registered plugins.
Definition at line 16 of file FlutterPluginAppLifeCycleDelegate.h.
| - (void) addDelegate: | (NSObject<FlutterApplicationLifeCycleDelegate>*) | delegate |
Registers delegate to receive life cycle callbacks via this FlutterPluginAppLifeCycleDelegate as long as it is alive.
delegate will only be referenced weakly.
Definition at line 67 of file FlutterPluginAppLifeCycleDelegate.mm.
| - (BOOL) application: | (UIApplication*) | application | |
| continueUserActivity: | (NSUserActivity*) | userActivity | |
| restorationHandler: | (void(^)(NSArray*)) | restorationHandler | |
Calls all plugins registered for UIApplicationDelegate callbacks in order of registration until some plugin handles the request.
YES if any plugin handles the request. Definition at line 67 of file FlutterPluginAppLifeCycleDelegate.mm.
| - (void) application: | (UIApplication*) | application | |
| didFailToRegisterForRemoteNotificationsWithError: | (NSError*) | error | |
Calls all plugins registered for UIApplicationDelegate callbacks.
Definition at line 67 of file FlutterPluginAppLifeCycleDelegate.mm.
| - (BOOL) application: | (UIApplication*) | application | |
| didFinishLaunchingWithOptions: | (NSDictionary*) | launchOptions | |
Calls all plugins registered for UIApplicationDelegate callbacks.
NO if any plugin vetos application launch. Definition at line 67 of file FlutterPluginAppLifeCycleDelegate.mm.
| - (void) application: | (UIApplication *) | application | |
| didReceiveLocalNotification: | ("See - deprecation") | [UIApplicationDelegate application:didReceiveLocalNotification:] | |
| (ios(4.0, 10.0)) | API_DEPRECATED | ||
Calls all plugins registered for UIApplicationDelegate callbacks.
| - (void) application: | (UIApplication*) | application | |
| didReceiveRemoteNotification: | (NSDictionary*) | userInfo | |
| fetchCompletionHandler: | (void(^)(UIBackgroundFetchResult result)) | completionHandler | |
Calls all plugins registered for UIApplicationDelegate callbacks.
Definition at line 67 of file FlutterPluginAppLifeCycleDelegate.mm.
| - (void) application: | (UIApplication*) | application | |
| didRegisterForRemoteNotificationsWithDeviceToken: | (NSData*) | deviceToken | |
Calls all plugins registered for UIApplicationDelegate callbacks.
Definition at line 67 of file FlutterPluginAppLifeCycleDelegate.mm.
| - (void) application: | (UIApplication *) | application | |
| didRegisterUserNotificationSettings: | ("See - deprecation") | [UIApplicationDelegate application:didRegisterUserNotificationSettings:] | |
| (ios(8.0, 10.0)) | API_DEPRECATED | ||
Called if this plugin has been registered for UIApplicationDelegate callbacks.
| - (BOOL) application: | (UIApplication *) | application | |
| handleEventsForBackgroundURLSession: | (nonnull NSString *) | identifier | |
| completionHandler: | (nonnull void(^)(void)) | completionHandler | |
Calls all plugins registered for UIApplicationDelegate callbacks in order of registration until some plugin handles the request.
YES if any plugin handles the request. | - (BOOL) application: | (UIApplication*) | application | |
| handleOpenURL: | (NSURL*) | url | |
Calls all plugins registered for UIApplicationDelegate callbacks in order of registration until some plugin handles the request.
YES if any plugin handles the request. Definition at line 67 of file FlutterPluginAppLifeCycleDelegate.mm.
| - (BOOL) application: | (UIApplication*) | application | |
| openURL: | (NSURL*) | url | |
| options: | (NSDictionary<UIApplicationOpenURLOptionsKey, id>*) | options | |
Calls all plugins registered for UIApplicationDelegate callbacks in order of registration until some plugin handles the request.
YES if any plugin handles the request. Definition at line 67 of file FlutterPluginAppLifeCycleDelegate.mm.
| - (BOOL) application: | (UIApplication*) | application | |
| openURL: | (NSURL*) | url | |
| sourceApplication: | (NSString*) | sourceApplication | |
| annotation: | (id) | annotation | |
Calls all plugins registered for UIApplicationDelegate callbacks in order of registration until some plugin handles the request.
YES if any plugin handles the request. Definition at line 67 of file FlutterPluginAppLifeCycleDelegate.mm.
| - (void) application: | (UIApplication *) | application | |
| performActionForShortcutItem: | (UIApplicationShortcutItem *) | shortcutItem | |
| completionHandler: | (ios(9.0)) | API_AVAILABLE | |
Calls all plugins registered for UIApplicationDelegate callbacks.
| - (BOOL) application: | (UIApplication*) | application | |
| performFetchWithCompletionHandler: | (void(^)(UIBackgroundFetchResult result)) | completionHandler | |
Calls all plugins registered for UIApplicationDelegate callbacks in order of registration until some plugin handles the request.
YES if any plugin handles the request. Definition at line 67 of file FlutterPluginAppLifeCycleDelegate.mm.
| - (BOOL) application: | (UIApplication*) | application | |
| willFinishLaunchingWithOptions: | (NSDictionary*) | launchOptions | |
Calls all plugins registered for UIApplicationDelegate callbacks.
NO if any plugin vetos application launch. Definition at line 67 of file FlutterPluginAppLifeCycleDelegate.mm.