Package apple.uikit

Class UIDocumentInteractionController

    • Constructor Detail

      • UIDocumentInteractionController

        protected UIDocumentInteractionController​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        public static org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • URL

        public NSURL URL()
        default is nil. if set, updates UTI, icon and name
      • UTI

        public java.lang.String UTI()
        determined from name if set, URL otherwise, override if the name or URL uses a custom scheme and the UTI can't be determined automatically
      • actionSheetCancel

        @Deprecated
        public void actionSheetCancel​(UIActionSheet actionSheet)
        Deprecated.
        Description copied from interface: UIActionSheetDelegate
        Called when we cancel a view (eg. the user clicks the Home button). This is not called when the user clicks the cancel button. If not defined in the delegate, we simulate a click in the cancel button
        Specified by:
        actionSheetCancel in interface UIActionSheetDelegate
      • annotation

        public java.lang.Object annotation()
        additional plist information for application to pass to receiver (must be a plist object). default is nil.
      • dismissMenuAnimated

        public void dismissMenuAnimated​(boolean animated)
        Dismiss any visible menus.
      • dismissPreviewAnimated

        public void dismissPreviewAnimated​(boolean animated)
        Dismiss the full screen quick look window if it is visible.
      • gestureRecognizers

        public NSArray<? extends UIGestureRecognizer> gestureRecognizers()
        Returns an array of gesture recognizers preconfigured to manage the quick look and options menu. These gesture recognizers should only be installed on your view when the file has been copied locally and is present at URL.
      • icons

        public NSArray<? extends UIImage> icons()
        determined from name if set, URL otherwise. will return a generic document icon if an icon cannot be determined. returns an array of icons sorted from smallest to largest.
      • name

        public java.lang.String name()
        determined from URL, override if the URL uses a custom scheme and the name can't be determined automatically
      • presentOpenInMenuFromBarButtonItemAnimated

        public boolean presentOpenInMenuFromBarButtonItemAnimated​(UIBarButtonItem item,
                                                                  boolean animated)
      • presentOpenInMenuFromRectInViewAnimated

        public boolean presentOpenInMenuFromRectInViewAnimated​(CGRect rect,
                                                               UIView view,
                                                               boolean animated)
        Presents a menu allowing the user to open the document in another application. The menu will contain all applications that can open the item at URL. Returns NO if there are no applications that can open the item at URL.
      • presentOptionsMenuFromBarButtonItemAnimated

        public boolean presentOptionsMenuFromBarButtonItemAnimated​(UIBarButtonItem item,
                                                                   boolean animated)
      • presentOptionsMenuFromRectInViewAnimated

        public boolean presentOptionsMenuFromRectInViewAnimated​(CGRect rect,
                                                                UIView view,
                                                                boolean animated)
        This is the default method you should call to give your users the option to quick look, open, or copy the document. Presents a menu allowing the user to Quick Look, open, or copy the item specified by URL. This automatically determines the correct application or applications that can open the item at URL. Returns NO if the options menu contained no options and was not opened. Note that you must implement the delegate method documentInteractionControllerViewControllerForPreview: to get the Quick Look menu item.
      • presentPreviewAnimated

        public boolean presentPreviewAnimated​(boolean animated)
        Bypasses the menu and opens the full screen preview window for the item at URL. Returns NO if the item could not be previewed. Note that you must implement the delegate method documentInteractionControllerViewControllerForPreview: to preview the document.
      • setAnnotation

        public void setAnnotation​(java.lang.Object value)
        additional plist information for application to pass to receiver (must be a plist object). default is nil.
      • setName

        public void setName​(java.lang.String value)
        determined from URL, override if the URL uses a custom scheme and the name can't be determined automatically
      • setURL

        public void setURL​(NSURL value)
        default is nil. if set, updates UTI, icon and name
      • setUTI

        public void setUTI​(java.lang.String value)
        determined from name if set, URL otherwise, override if the name or URL uses a custom scheme and the UTI can't be determined automatically