Package org.robovm.apple.uikit
Interface UIApplicationDelegate
-
- All Superinterfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
- All Known Subinterfaces:
CPApplicationDelegate
- All Known Implementing Classes:
CPApplicationDelegateAdapter
,UIApplicationDelegateAdapter
public interface UIApplicationDelegate extends NSObjectProtocol
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
continueUserActivity(UIApplication application, NSUserActivity userActivity, org.robovm.objc.block.VoidBlock1<NSArray<UIResponder>> restorationHandler)
void
didAcceptCloudKitShare(UIApplication application, CKShareMetadata cloudKitShareMetadata)
void
didBecomeActive(UIApplication application)
void
didChangStatusBarFrame(UIApplication application, CGRect oldStatusBarFrame)
void
didChangStatusBarOrientation(UIApplication application, UIInterfaceOrientation oldStatusBarOrientation)
void
didDecodeRestorableState(UIApplication application, NSCoder coder)
void
didEnterBackground(UIApplication application)
void
didFailToContinueUserActivity(UIApplication application, java.lang.String userActivityType, NSError error)
void
didFailToRegisterForRemoteNotifications(UIApplication application, NSError error)
void
didFinishLaunching(UIApplication application)
boolean
didFinishLaunching(UIApplication application, UIApplicationLaunchOptions launchOptions)
void
didReceiveLocalNotification(UIApplication application, UILocalNotification notification)
Deprecated.Deprecated in iOS 10.0.void
didReceiveMemoryWarning(UIApplication application)
void
didReceiveRemoteNotification(UIApplication application, UIRemoteNotification userInfo)
Deprecated.Deprecated in iOS 10.0.void
didReceiveRemoteNotification(UIApplication application, UIRemoteNotification userInfo, org.robovm.objc.block.VoidBlock1<UIBackgroundFetchResult> completionHandler)
void
didRegisterForRemoteNotifications(UIApplication application, NSData deviceToken)
void
didRegisterUserNotificationSettings(UIApplication application, UIUserNotificationSettings notificationSettings)
Deprecated.Deprecated in iOS 10.0.void
didUpdateUserActivity(UIApplication application, NSUserActivity userActivity)
UIInterfaceOrientationMask
getSupportedInterfaceOrientations(UIApplication application, UIWindow window)
UIViewController
getViewController(UIApplication application, java.util.List<java.lang.String> identifierComponents, NSCoder coder)
UIWindow
getWindow()
void
handleEventsForBackgroundURLSession(UIApplication application, java.lang.String identifier, java.lang.Runnable completionHandler)
void
handleIntent(UIApplication application, INIntent intent, org.robovm.objc.block.VoidBlock1<INIntentResponse> completionHandler)
void
handleLocalNotificationAction(UIApplication application, java.lang.String identifier, UILocalNotification notification, java.lang.Runnable completionHandler)
Deprecated.Deprecated in iOS 10.0.void
handleLocalNotificationAction(UIApplication application, java.lang.String identifier, UILocalNotification notification, NSDictionary<?,?> responseInfo, java.lang.Runnable completionHandler)
Deprecated.Deprecated in iOS 10.0.boolean
handleOpenURL(UIApplication application, NSURL url)
Deprecated.Deprecated in iOS 9.0.void
handleRemoteNotificationAction(UIApplication application, java.lang.String identifier, UIRemoteNotification userInfo, java.lang.Runnable completionHandler)
Deprecated.Deprecated in iOS 10.0.void
handleRemoteNotificationAction(UIApplication application, java.lang.String identifier, UIRemoteNotification userInfo, NSDictionary<?,?> responseInfo, java.lang.Runnable completionHandler)
Deprecated.Deprecated in iOS 10.0.void
handleWatchKitExtensionRequest(UIApplication application, NSDictionary<?,?> userInfo, org.robovm.objc.block.VoidBlock1<NSDictionary<?,?>> reply)
boolean
openURL(UIApplication application, NSURL url, java.lang.String sourceApplication, NSPropertyList annotation)
Deprecated.Deprecated in iOS 9.0.boolean
openURL(UIApplication app, NSURL url, UIApplicationOpenURLOptions options)
void
performAction(UIApplication application, UIApplicationShortcutItem shortcutItem, org.robovm.objc.block.VoidBooleanBlock completionHandler)
void
performFetch(UIApplication application, org.robovm.objc.block.VoidBlock1<UIBackgroundFetchResult> completionHandler)
void
protectedDataDidBecomeAvailable(UIApplication application)
void
protectedDataWillBecomeUnavailable(UIApplication application)
void
setWindow(UIWindow v)
boolean
shouldAllowExtensionPointIdentifier(UIApplication application, UIApplicationExtensionPointIdentifier extensionPointIdentifier)
void
shouldRequestHealthAuthorization(UIApplication application)
boolean
shouldRestoreApplicationState(UIApplication application, NSCoder coder)
boolean
shouldSaveApplicationState(UIApplication application, NSCoder coder)
void
significantTimeChange(UIApplication application)
void
willChangeStatusBarFrame(UIApplication application, CGRect newStatusBarFrame)
void
willChangeStatusBarOrientation(UIApplication application, UIInterfaceOrientation newStatusBarOrientation, double duration)
boolean
willContinueUserActivity(UIApplication application, java.lang.String userActivityType)
void
willEncodeRestorableState(UIApplication application, NSCoder coder)
void
willEnterForeground(UIApplication application)
boolean
willFinishLaunching(UIApplication application, UIApplicationLaunchOptions launchOptions)
void
willResignActive(UIApplication application)
void
willTerminate(UIApplication application)
-
-
-
Method Detail
-
getWindow
UIWindow getWindow()
- Since:
- Available in iOS 5.0 and later.
-
setWindow
void setWindow(UIWindow v)
- Since:
- Available in iOS 5.0 and later.
-
didFinishLaunching
void didFinishLaunching(UIApplication application)
-
willFinishLaunching
boolean willFinishLaunching(UIApplication application, UIApplicationLaunchOptions launchOptions)
- Since:
- Available in iOS 6.0 and later.
-
didFinishLaunching
boolean didFinishLaunching(UIApplication application, UIApplicationLaunchOptions launchOptions)
- Since:
- Available in iOS 3.0 and later.
-
didBecomeActive
void didBecomeActive(UIApplication application)
-
willResignActive
void willResignActive(UIApplication application)
-
handleOpenURL
@Deprecated boolean handleOpenURL(UIApplication application, NSURL url)
Deprecated.Deprecated in iOS 9.0. Please use application:openURL:options:- Since:
- Available in iOS 2.0 and later.
-
openURL
@Deprecated boolean openURL(UIApplication application, NSURL url, java.lang.String sourceApplication, NSPropertyList annotation)
Deprecated.Deprecated in iOS 9.0. Please use application:openURL:options:- Since:
- Available in iOS 4.2 and later.
-
openURL
boolean openURL(UIApplication app, NSURL url, UIApplicationOpenURLOptions options)
- Since:
- Available in iOS 9.0 and later.
-
didReceiveMemoryWarning
void didReceiveMemoryWarning(UIApplication application)
-
willTerminate
void willTerminate(UIApplication application)
-
significantTimeChange
void significantTimeChange(UIApplication application)
-
willChangeStatusBarOrientation
void willChangeStatusBarOrientation(UIApplication application, UIInterfaceOrientation newStatusBarOrientation, double duration)
-
didChangStatusBarOrientation
void didChangStatusBarOrientation(UIApplication application, UIInterfaceOrientation oldStatusBarOrientation)
-
willChangeStatusBarFrame
void willChangeStatusBarFrame(UIApplication application, CGRect newStatusBarFrame)
-
didChangStatusBarFrame
void didChangStatusBarFrame(UIApplication application, CGRect oldStatusBarFrame)
-
didRegisterUserNotificationSettings
@Deprecated void didRegisterUserNotificationSettings(UIApplication application, UIUserNotificationSettings notificationSettings)
Deprecated.Deprecated in iOS 10.0. Use UserNotifications Framework's -[UNUserNotificationCenter requestAuthorizationWithOptions:completionHandler:]- Since:
- Available in iOS 8.0 and later.
-
didRegisterForRemoteNotifications
void didRegisterForRemoteNotifications(UIApplication application, NSData deviceToken)
- Since:
- Available in iOS 3.0 and later.
-
didFailToRegisterForRemoteNotifications
void didFailToRegisterForRemoteNotifications(UIApplication application, NSError error)
- Since:
- Available in iOS 3.0 and later.
-
didReceiveRemoteNotification
@Deprecated void didReceiveRemoteNotification(UIApplication application, UIRemoteNotification userInfo)
Deprecated.Deprecated in iOS 10.0. Use UserNotifications Framework's -[UNUserNotificationCenterDelegate willPresentNotification:withCompletionHandler:] or -[UNUserNotificationCenterDelegate didReceiveNotificationResponse:withCompletionHandler:] for user visible notifications and -[UIApplicationDelegate application:didReceiveRemoteNotification:fetchCompletionHandler:] for silent remote notifications- Since:
- Available in iOS 3.0 and later.
-
didReceiveLocalNotification
@Deprecated void didReceiveLocalNotification(UIApplication application, UILocalNotification notification)
Deprecated.Deprecated in iOS 10.0. Use UserNotifications Framework's -[UNUserNotificationCenterDelegate willPresentNotification:withCompletionHandler:] or -[UNUserNotificationCenterDelegate didReceiveNotificationResponse:withCompletionHandler:]- Since:
- Available in iOS 4.0 and later.
-
handleLocalNotificationAction
@Deprecated void handleLocalNotificationAction(UIApplication application, java.lang.String identifier, UILocalNotification notification, java.lang.Runnable completionHandler)
Deprecated.Deprecated in iOS 10.0. Use UserNotifications Framework's -[UNUserNotificationCenterDelegate didReceiveNotificationResponse:withCompletionHandler:]- Since:
- Available in iOS 8.0 and later.
-
handleRemoteNotificationAction
@Deprecated void handleRemoteNotificationAction(UIApplication application, java.lang.String identifier, UIRemoteNotification userInfo, NSDictionary<?,?> responseInfo, java.lang.Runnable completionHandler)
Deprecated.Deprecated in iOS 10.0. Use UserNotifications Framework's -[UNUserNotificationCenterDelegate didReceiveNotificationResponse:withCompletionHandler:]- Since:
- Available in iOS 9.0 and later.
-
handleRemoteNotificationAction
@Deprecated void handleRemoteNotificationAction(UIApplication application, java.lang.String identifier, UIRemoteNotification userInfo, java.lang.Runnable completionHandler)
Deprecated.Deprecated in iOS 10.0. Use UserNotifications Framework's -[UNUserNotificationCenterDelegate didReceiveNotificationResponse:withCompletionHandler:]- Since:
- Available in iOS 8.0 and later.
-
handleLocalNotificationAction
@Deprecated void handleLocalNotificationAction(UIApplication application, java.lang.String identifier, UILocalNotification notification, NSDictionary<?,?> responseInfo, java.lang.Runnable completionHandler)
Deprecated.Deprecated in iOS 10.0. Use UserNotifications Framework's -[UNUserNotificationCenterDelegate didReceiveNotificationResponse:withCompletionHandler:]- Since:
- Available in iOS 9.0 and later.
-
didReceiveRemoteNotification
void didReceiveRemoteNotification(UIApplication application, UIRemoteNotification userInfo, org.robovm.objc.block.VoidBlock1<UIBackgroundFetchResult> completionHandler)
- Since:
- Available in iOS 7.0 and later.
-
performFetch
void performFetch(UIApplication application, org.robovm.objc.block.VoidBlock1<UIBackgroundFetchResult> completionHandler)
- Since:
- Available in iOS 7.0 and later.
-
performAction
void performAction(UIApplication application, UIApplicationShortcutItem shortcutItem, org.robovm.objc.block.VoidBooleanBlock completionHandler)
- Since:
- Available in iOS 9.0 and later.
-
handleEventsForBackgroundURLSession
void handleEventsForBackgroundURLSession(UIApplication application, java.lang.String identifier, java.lang.Runnable completionHandler)
- Since:
- Available in iOS 7.0 and later.
-
handleWatchKitExtensionRequest
void handleWatchKitExtensionRequest(UIApplication application, NSDictionary<?,?> userInfo, org.robovm.objc.block.VoidBlock1<NSDictionary<?,?>> reply)
- Since:
- Available in iOS 8.2 and later.
-
shouldRequestHealthAuthorization
void shouldRequestHealthAuthorization(UIApplication application)
- Since:
- Available in iOS 9.0 and later.
-
handleIntent
void handleIntent(UIApplication application, INIntent intent, org.robovm.objc.block.VoidBlock1<INIntentResponse> completionHandler)
- Since:
- Available in iOS 11.0 and later.
-
didEnterBackground
void didEnterBackground(UIApplication application)
- Since:
- Available in iOS 4.0 and later.
-
willEnterForeground
void willEnterForeground(UIApplication application)
- Since:
- Available in iOS 4.0 and later.
-
protectedDataWillBecomeUnavailable
void protectedDataWillBecomeUnavailable(UIApplication application)
- Since:
- Available in iOS 4.0 and later.
-
protectedDataDidBecomeAvailable
void protectedDataDidBecomeAvailable(UIApplication application)
- Since:
- Available in iOS 4.0 and later.
-
getSupportedInterfaceOrientations
UIInterfaceOrientationMask getSupportedInterfaceOrientations(UIApplication application, UIWindow window)
- Since:
- Available in iOS 6.0 and later.
-
shouldAllowExtensionPointIdentifier
boolean shouldAllowExtensionPointIdentifier(UIApplication application, UIApplicationExtensionPointIdentifier extensionPointIdentifier)
- Since:
- Available in iOS 8.0 and later.
-
getViewController
UIViewController getViewController(UIApplication application, java.util.List<java.lang.String> identifierComponents, NSCoder coder)
- Since:
- Available in iOS 6.0 and later.
-
shouldSaveApplicationState
boolean shouldSaveApplicationState(UIApplication application, NSCoder coder)
- Since:
- Available in iOS 6.0 and later.
-
shouldRestoreApplicationState
boolean shouldRestoreApplicationState(UIApplication application, NSCoder coder)
- Since:
- Available in iOS 6.0 and later.
-
willEncodeRestorableState
void willEncodeRestorableState(UIApplication application, NSCoder coder)
- Since:
- Available in iOS 6.0 and later.
-
didDecodeRestorableState
void didDecodeRestorableState(UIApplication application, NSCoder coder)
- Since:
- Available in iOS 6.0 and later.
-
willContinueUserActivity
boolean willContinueUserActivity(UIApplication application, java.lang.String userActivityType)
- Since:
- Available in iOS 8.0 and later.
-
continueUserActivity
boolean continueUserActivity(UIApplication application, NSUserActivity userActivity, org.robovm.objc.block.VoidBlock1<NSArray<UIResponder>> restorationHandler)
- Since:
- Available in iOS 8.0 and later.
-
didFailToContinueUserActivity
void didFailToContinueUserActivity(UIApplication application, java.lang.String userActivityType, NSError error)
- Since:
- Available in iOS 8.0 and later.
-
didUpdateUserActivity
void didUpdateUserActivity(UIApplication application, NSUserActivity userActivity)
- Since:
- Available in iOS 8.0 and later.
-
didAcceptCloudKitShare
void didAcceptCloudKitShare(UIApplication application, CKShareMetadata cloudKitShareMetadata)
- Since:
- Available in iOS 10.0 and later.
-
-