#import <FlutterPlugin.h>
Protocol for listener of events from the UIApplication, typically a FlutterPlugin.
Definition at line 25 of file FlutterPlugin.h.
◆ application:continueUserActivity:restorationHandler:
- (BOOL) application: |
|
(UIApplication *) |
application |
continueUserActivity: |
|
(NSUserActivity *) |
userActivity |
restorationHandler: |
|
(void(^)(NSArray *)) |
restorationHandler |
|
|
| |
|
optional |
Called if this has been registered for UIApplicationDelegate
callbacks.
- Returns
YES
if this handles the request.
◆ application:didFailToRegisterForRemoteNotificationsWithError:
- (void) application: |
|
(UIApplication *) |
application |
didFailToRegisterForRemoteNotificationsWithError: |
|
(NSError *) |
error |
|
|
| |
|
optional |
Called if this has been registered for UIApplicationDelegate
callbacks.
◆ application:didFinishLaunchingWithOptions:
- (BOOL) application: |
|
(UIApplication *) |
application |
didFinishLaunchingWithOptions: |
|
(NSDictionary *) |
launchOptions |
|
|
| |
|
optional |
Called if this has been registered for UIApplicationDelegate
callbacks.
- Returns
NO
if this vetos application launch.
◆ application:didReceiveLocalNotification:
- (void) application: |
|
(UIApplication *) |
application |
didReceiveLocalNotification: |
|
("See - deprecation") |
[UIApplicationDelegate application:didReceiveLocalNotification:] |
|
|
(ios(4.0, 10.0)) |
API_DEPRECATED |
|
|
| |
|
optional |
Calls all plugins registered for UIApplicationDelegate
callbacks.
◆ application:didReceiveRemoteNotification:fetchCompletionHandler:
- (BOOL) application: |
|
(UIApplication *) |
application |
didReceiveRemoteNotification: |
|
(NSDictionary *) |
userInfo |
fetchCompletionHandler: |
|
(void(^)(UIBackgroundFetchResult result)) |
completionHandler |
|
|
| |
|
optional |
Called if this has been registered for UIApplicationDelegate
callbacks.
- Returns
YES
if this handles the request.
◆ application:didRegisterForRemoteNotificationsWithDeviceToken:
- (void) application: |
|
(UIApplication *) |
application |
didRegisterForRemoteNotificationsWithDeviceToken: |
|
(NSData *) |
deviceToken |
|
|
| |
|
optional |
Called if this has been registered for UIApplicationDelegate
callbacks.
◆ application:didRegisterUserNotificationSettings:
- (void) application: |
|
(UIApplication *) |
application |
didRegisterUserNotificationSettings: |
|
("See - deprecation") |
[UIApplicationDelegate application:didRegisterUserNotificationSettings:] |
|
|
(ios(8.0, 10.0)) |
API_DEPRECATED |
|
|
| |
|
optional |
Called if this has been registered for UIApplicationDelegate
callbacks.
◆ application:handleEventsForBackgroundURLSession:completionHandler:
- (BOOL) application: |
|
(UIApplication *) |
application |
handleEventsForBackgroundURLSession: |
|
(nonnull NSString *) |
identifier |
completionHandler: |
|
(nonnull void(^)(void)) |
completionHandler |
|
|
| |
|
optional |
Called if this has been registered for UIApplicationDelegate
callbacks.
- Returns
YES
if this handles the request.
◆ application:handleOpenURL:
- (BOOL) application: |
|
(UIApplication *) |
application |
handleOpenURL: |
|
(NSURL *) |
url |
|
|
| |
|
optional |
Called if this has been registered for UIApplicationDelegate
callbacks.
- Returns
YES
if this handles the request.
◆ application:openURL:options:
- (BOOL) application: |
|
(UIApplication *) |
application |
openURL: |
|
(NSURL *) |
url |
options: |
|
(NSDictionary< UIApplicationOpenURLOptionsKey, id > *) |
options |
|
|
| |
|
optional |
Called if this has been registered for UIApplicationDelegate
callbacks.
- Returns
YES
if this handles the request.
◆ application:openURL:sourceApplication:annotation:
- (BOOL) application: |
|
(UIApplication *) |
application |
openURL: |
|
(NSURL *) |
url |
sourceApplication: |
|
(NSString *) |
sourceApplication |
annotation: |
|
(id) |
annotation |
|
|
| |
|
optional |
Called if this has been registered for UIApplicationDelegate
callbacks.
- Returns
YES
if this handles the request.
◆ application:performActionForShortcutItem:completionHandler:
- (BOOL) application: |
|
(UIApplication *) |
application |
performActionForShortcutItem: |
|
(UIApplicationShortcutItem *) |
shortcutItem |
completionHandler: |
|
(ios(9.0)) |
API_AVAILABLE |
|
|
| |
|
optional |
Called if this has been registered for UIApplicationDelegate
callbacks.
- Returns
YES
if this handles the request.
◆ application:performFetchWithCompletionHandler:
- (BOOL) application: |
|
(UIApplication *) |
application |
performFetchWithCompletionHandler: |
|
(void(^)(UIBackgroundFetchResult result)) |
completionHandler |
|
|
| |
|
optional |
Called if this has been registered for UIApplicationDelegate
callbacks.
- Returns
YES
if this handles the request.
◆ application:willFinishLaunchingWithOptions:
- (BOOL) application: |
|
(UIApplication *) |
application |
willFinishLaunchingWithOptions: |
|
(NSDictionary *) |
launchOptions |
|
|
| |
|
optional |
Called if this has been registered for UIApplicationDelegate
callbacks.
- Returns
NO
if this vetos application launch.
◆ applicationDidBecomeActive:
- (void) applicationDidBecomeActive: |
|
(UIApplication *) |
application |
|
|
optional |
Called if this has been registered for UIApplicationDelegate
callbacks.
◆ applicationDidEnterBackground:
- (void) applicationDidEnterBackground: |
|
(UIApplication *) |
application |
|
|
optional |
Called if this has been registered for UIApplicationDelegate
callbacks.
◆ applicationWillEnterForeground:
- (void) applicationWillEnterForeground: |
|
(UIApplication *) |
application |
|
|
optional |
Called if this has been registered for UIApplicationDelegate
callbacks.
◆ applicationWillResignActive:
- (void) applicationWillResignActive: |
|
(UIApplication *) |
application |
|
|
optional |
Called if this has been registered for UIApplicationDelegate
callbacks.
◆ applicationWillTerminate:
- (void) applicationWillTerminate: |
|
(UIApplication *) |
application |
|
|
optional |
Called if this has been registered for UIApplicationDelegate
callbacks.
The documentation for this protocol was generated from the following file: