Package org.robovm.apple.uikit
Class UIApplicationDelegateAdapter
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.uikit.UIApplicationDelegateAdapter
- All Implemented Interfaces:
NSObjectProtocol,UIApplicationDelegate,ObjCProtocol
- Direct Known Subclasses:
CPApplicationDelegateAdapter
public class UIApplicationDelegateAdapter extends NSObject implements UIApplicationDelegate
-
Nested Class Summary
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAINFields inherited from class org.robovm.objc.ObjCObject
customClass -
Constructor Summary
Constructors Constructor Description UIApplicationDelegateAdapter() -
Method Summary
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRefMethods inherited from class org.robovm.rt.bro.NativeObject
as, getHandle, setHandle
-
Constructor Details
-
UIApplicationDelegateAdapter
public UIApplicationDelegateAdapter()
-
-
Method Details
-
getWindow
- Specified by:
getWindowin interfaceUIApplicationDelegate- Since:
- Available in iOS 5.0 and later.
-
setWindow
- Specified by:
setWindowin interfaceUIApplicationDelegate- Since:
- Available in iOS 5.0 and later.
-
didReceiveMemoryWarning
- Specified by:
didReceiveMemoryWarningin interfaceUIApplicationDelegate
-
didFinishLaunching
- Specified by:
didFinishLaunchingin interfaceUIApplicationDelegate
-
willFinishLaunching
public boolean willFinishLaunching(UIApplication application, UIApplicationLaunchOptions launchOptions)- Specified by:
willFinishLaunchingin interfaceUIApplicationDelegate
-
didFinishLaunching
public boolean didFinishLaunching(UIApplication application, UIApplicationLaunchOptions launchOptions)- Specified by:
didFinishLaunchingin interfaceUIApplicationDelegate
-
didBecomeActive
- Specified by:
didBecomeActivein interfaceUIApplicationDelegate
-
willResignActive
- Specified by:
willResignActivein interfaceUIApplicationDelegate
-
handleOpenURL
Deprecated.Deprecated in iOS 9.0. Use application:openURL:options:- Specified by:
handleOpenURLin interfaceUIApplicationDelegate
-
openURL
@Deprecated public boolean openURL(UIApplication application, NSURL url, String sourceApplication, NSPropertyList annotation)Deprecated.Deprecated in iOS 9.0. Use application:openURL:options:- Specified by:
openURLin interfaceUIApplicationDelegate
-
openURL
- Specified by:
openURLin interfaceUIApplicationDelegate- Since:
- Available in iOS 9.0 and later.
-
willTerminate
- Specified by:
willTerminatein interfaceUIApplicationDelegate
-
significantTimeChange
- Specified by:
significantTimeChangein interfaceUIApplicationDelegate
-
willChangeStatusBarOrientation
@Deprecated public void willChangeStatusBarOrientation(UIApplication application, UIInterfaceOrientation newStatusBarOrientation, double duration)Deprecated.Deprecated in iOS 13.0. Use viewWillTransitionToSize:withTransitionCoordinator: instead.- Specified by:
willChangeStatusBarOrientationin interfaceUIApplicationDelegate
-
didChangStatusBarOrientation
@Deprecated public void didChangStatusBarOrientation(UIApplication application, UIInterfaceOrientation oldStatusBarOrientation)Deprecated.Deprecated in iOS 13.0. Use viewWillTransitionToSize:withTransitionCoordinator: instead.- Specified by:
didChangStatusBarOrientationin interfaceUIApplicationDelegate
-
willChangeStatusBarFrame
@Deprecated public void willChangeStatusBarFrame(UIApplication application, CGRect newStatusBarFrame)Deprecated.Deprecated in iOS 13.0. Use viewWillTransitionToSize:withTransitionCoordinator: instead.- Specified by:
willChangeStatusBarFramein interfaceUIApplicationDelegate
-
didChangStatusBarFrame
@Deprecated public void didChangStatusBarFrame(UIApplication application, CGRect oldStatusBarFrame)Deprecated.Deprecated in iOS 13.0. Use viewWillTransitionToSize:withTransitionCoordinator: instead.- Specified by:
didChangStatusBarFramein interfaceUIApplicationDelegate
-
didRegisterUserNotificationSettings
@Deprecated public void didRegisterUserNotificationSettings(UIApplication application, UIUserNotificationSettings notificationSettings)Deprecated.Deprecated in iOS 10.0. Use UserNotifications Framework's -[UNUserNotificationCenter requestAuthorizationWithOptions:completionHandler:]- Specified by:
didRegisterUserNotificationSettingsin interfaceUIApplicationDelegate
-
didRegisterForRemoteNotifications
- Specified by:
didRegisterForRemoteNotificationsin interfaceUIApplicationDelegate
-
didFailToRegisterForRemoteNotifications
- Specified by:
didFailToRegisterForRemoteNotificationsin interfaceUIApplicationDelegate
-
didReceiveRemoteNotification
@Deprecated public 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- Specified by:
didReceiveRemoteNotificationin interfaceUIApplicationDelegate
-
didReceiveLocalNotification
@Deprecated public void didReceiveLocalNotification(UIApplication application, UILocalNotification notification)Deprecated.Deprecated in iOS 10.0. Use UserNotifications Framework's -[UNUserNotificationCenterDelegate willPresentNotification:withCompletionHandler:] or -[UNUserNotificationCenterDelegate didReceiveNotificationResponse:withCompletionHandler:]- Specified by:
didReceiveLocalNotificationin interfaceUIApplicationDelegate
-
handleLocalNotificationAction
@Deprecated public void handleLocalNotificationAction(UIApplication application, String identifier, UILocalNotification notification, Runnable completionHandler)Deprecated.Deprecated in iOS 10.0. Use UserNotifications Framework's -[UNUserNotificationCenterDelegate didReceiveNotificationResponse:withCompletionHandler:]- Specified by:
handleLocalNotificationActionin interfaceUIApplicationDelegate
-
handleRemoteNotificationAction
@Deprecated public void handleRemoteNotificationAction(UIApplication application, String identifier, UIRemoteNotification userInfo, NSDictionary<?,?> responseInfo, Runnable completionHandler)Deprecated.Deprecated in iOS 10.0. Use UserNotifications Framework's -[UNUserNotificationCenterDelegate didReceiveNotificationResponse:withCompletionHandler:]- Specified by:
handleRemoteNotificationActionin interfaceUIApplicationDelegate- Since:
- Available in iOS 9.0 and later.
-
handleRemoteNotificationAction
@Deprecated public void handleRemoteNotificationAction(UIApplication application, String identifier, UIRemoteNotification userInfo, Runnable completionHandler)Deprecated.Deprecated in iOS 10.0. Use UserNotifications Framework's -[UNUserNotificationCenterDelegate didReceiveNotificationResponse:withCompletionHandler:]- Specified by:
handleRemoteNotificationActionin interfaceUIApplicationDelegate
-
handleLocalNotificationAction
@Deprecated public void handleLocalNotificationAction(UIApplication application, String identifier, UILocalNotification notification, NSDictionary<?,?> responseInfo, Runnable completionHandler)Deprecated.Deprecated in iOS 10.0. Use UserNotifications Framework's -[UNUserNotificationCenterDelegate didReceiveNotificationResponse:withCompletionHandler:]- Specified by:
handleLocalNotificationActionin interfaceUIApplicationDelegate- Since:
- Available in iOS 9.0 and later.
-
didReceiveRemoteNotification
public void didReceiveRemoteNotification(UIApplication application, UIRemoteNotification userInfo, VoidBlock1<UIBackgroundFetchResult> completionHandler)- Specified by:
didReceiveRemoteNotificationin interfaceUIApplicationDelegate
-
performFetch
@Deprecated public void performFetch(UIApplication application, VoidBlock1<UIBackgroundFetchResult> completionHandler)Deprecated.Deprecated in iOS 13.0. Use a BGAppRefreshTask in the BackgroundTasks framework instead- Specified by:
performFetchin interfaceUIApplicationDelegate
-
performAction
public void performAction(UIApplication application, UIApplicationShortcutItem shortcutItem, VoidBooleanBlock completionHandler)- Specified by:
performActionin interfaceUIApplicationDelegate- Since:
- Available in iOS 9.0 and later.
-
handleEventsForBackgroundURLSession
public void handleEventsForBackgroundURLSession(UIApplication application, String identifier, Runnable completionHandler)- Specified by:
handleEventsForBackgroundURLSessionin interfaceUIApplicationDelegate
-
handleWatchKitExtensionRequest
public void handleWatchKitExtensionRequest(UIApplication application, NSDictionary<?,?> userInfo, VoidBlock1<NSDictionary<?,?>> reply)- Specified by:
handleWatchKitExtensionRequestin interfaceUIApplicationDelegate- Since:
- Available in iOS 8.2 and later.
-
shouldRequestHealthAuthorization
- Specified by:
shouldRequestHealthAuthorizationin interfaceUIApplicationDelegate- Since:
- Available in iOS 9.0 and later.
-
getHandlerForIntent
- Specified by:
getHandlerForIntentin interfaceUIApplicationDelegate- Since:
- Available in iOS 14.0 and later.
-
handleIntent
@Deprecated public void handleIntent(UIApplication application, INIntent intent, VoidBlock1<INIntentResponse> completionHandler)Deprecated.Deprecated in iOS 14.0. Use application:handlerForIntent: instead- Specified by:
handleIntentin interfaceUIApplicationDelegate- Since:
- Available in iOS 11.0 and later.
-
didEnterBackground
- Specified by:
didEnterBackgroundin interfaceUIApplicationDelegate
-
willEnterForeground
- Specified by:
willEnterForegroundin interfaceUIApplicationDelegate
-
protectedDataDidBecomeAvailable
- Specified by:
protectedDataDidBecomeAvailablein interfaceUIApplicationDelegate
-
getSupportedInterfaceOrientations
public UIInterfaceOrientationMask getSupportedInterfaceOrientations(UIApplication application, UIWindow window)- Specified by:
getSupportedInterfaceOrientationsin interfaceUIApplicationDelegate
-
shouldAllowExtensionPointIdentifier
public boolean shouldAllowExtensionPointIdentifier(UIApplication application, UIApplicationExtensionPointIdentifier extensionPointIdentifier)- Specified by:
shouldAllowExtensionPointIdentifierin interfaceUIApplicationDelegate
-
getViewController
public UIViewController getViewController(UIApplication application, List<String> identifierComponents, NSCoder coder)- Specified by:
getViewControllerin interfaceUIApplicationDelegate
-
shouldSaveSecureApplicationState
- Specified by:
shouldSaveSecureApplicationStatein interfaceUIApplicationDelegate- Since:
- Available in iOS 13.2 and later.
-
shouldRestoreSecureApplicationState
- Specified by:
shouldRestoreSecureApplicationStatein interfaceUIApplicationDelegate- Since:
- Available in iOS 13.2 and later.
-
willEncodeRestorableState
- Specified by:
willEncodeRestorableStatein interfaceUIApplicationDelegate
-
didDecodeRestorableState
- Specified by:
didDecodeRestorableStatein interfaceUIApplicationDelegate
-
shouldSaveApplicationState
Deprecated.Deprecated in iOS 13.2. Use application:shouldSaveSecureApplicationState: instead- Specified by:
shouldSaveApplicationStatein interfaceUIApplicationDelegate
-
shouldRestoreApplicationState
Deprecated.Deprecated in iOS 13.2. Use application:shouldRestoreSecureApplicationState: instead- Specified by:
shouldRestoreApplicationStatein interfaceUIApplicationDelegate
-
willContinueUserActivity
- Specified by:
willContinueUserActivityin interfaceUIApplicationDelegate
-
continueUserActivity
public boolean continueUserActivity(UIApplication application, NSUserActivity userActivity, VoidBlock1<NSArray<UIResponder>> restorationHandler)- Specified by:
continueUserActivityin interfaceUIApplicationDelegate
-
didFailToContinueUserActivity
public void didFailToContinueUserActivity(UIApplication application, String userActivityType, NSError error)- Specified by:
didFailToContinueUserActivityin interfaceUIApplicationDelegate
-
didUpdateUserActivity
- Specified by:
didUpdateUserActivityin interfaceUIApplicationDelegate
-
getConfigurationForConnectingSceneSession
public UISceneConfiguration getConfigurationForConnectingSceneSession(UIApplication application, UISceneSession connectingSceneSession, UISceneConnectionOptions options)- Specified by:
getConfigurationForConnectingSceneSessionin interfaceUIApplicationDelegate- Since:
- Available in iOS 13.0 and later.
-
didDiscardSceneSessions
public void didDiscardSceneSessions(UIApplication application, NSSet<UISceneSession> sceneSessions)- Specified by:
didDiscardSceneSessionsin interfaceUIApplicationDelegate- Since:
- Available in iOS 13.0 and later.
-
applicationShouldAutomaticallyLocalizeKeyCommands
- Specified by:
applicationShouldAutomaticallyLocalizeKeyCommandsin interfaceUIApplicationDelegate- Since:
- Available in iOS 15.0 and later.
-